---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mixtableman
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
     app: mixtableman
  template:
    metadata:
      labels:
        app: mixtableman               #pod容器标签
    spec:
      #hostNetwork: true
      nodeSelector:
        mixiotid: fidis-dev            #节点选择标签
      containers:
       - name: mixtableman
         image: registry.mixlinker.com/fidis/mixtableman:latest               #使用容器名称
         imagePullPolicy: IfNotPresent
         volumeMounts:
          - mountPath: /etc/localtime               #挂载目录
            name: localtime
      volumes:
       - name: localtime
         hostPath:
          path: /etc/localtime
---
