kind: DaemonSet
apiVersion: apps/v1
metadata:
  name: custom-user-dashboard-frontend-amd64
  namespace: default
spec:
  selector:
    matchLabels:
      jobmanager-node: pod
  template:
    metadata:
      name: custom-user-dashboard-frontend-amd64
      labels:
        jobmanager-node: pod
        app: custom-user-dashboard-frontend-amd64
    spec:
      
      hostNetwork: true
      nodeSelector:
        jobmanager: active
        archType: amd64
      containers:
      - name: custom-user-dashboard-frontend
        image: harbor.apulis.cn:8443/aiarts_v1.5.0_rc8/apulistech/custom-user-dashboard-frontend:v1.5.0-rc8

        imagePullPolicy: Always
        ports:
          - containerPort: 3083
            hostPort: 3083
            protocol: TCP
        readinessProbe:
          failureThreshold: 3
          initialDelaySeconds: 3
          periodSeconds: 30
          successThreshold: 1
          tcpSocket:
            port: 3083
          timeoutSeconds: 10
      tolerations:
      - key: CriticalAddonsOnly
        operator: Exists
      - key: node-role.kubernetes.io/master
        effect: NoSchedule
