kind: Deployment apiVersion: apps/v1 metadata: name: zhios-app-order-task-v3 namespace: zhios labels: app: zhios-app-order-task-v3 annotations: kubesphere.io/creator: huangjiajun kubesphere.io/description: 智莺生活跟单 spec: replicas: 1 selector: matchLabels: app: zhios-app-order-task-v3 template: metadata: labels: app: zhios-app-order-task-v3 spec: volumes: - name: host-time hostPath: path: /etc/localtime type: '' - name: zhios-app-order-task-v3 configMap: name: zhios-app-order-task items: - key: task.yml path: task.yml defaultMode: 420 containers: - name: zhios-app-order-task-v3 image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/zyos-task-v3:240313193' resources: limits: cpu: 500m memory: 1000Mi requests: cpu: 200m memory: 100Mi volumeMounts: - name: host-time readOnly: true mountPath: /etc/localtime - name: zhios-app-order-task-v3 readOnly: true mountPath: /var/zyos/task.yml subPath: task.yml terminationMessagePath: /dev/termination-log terminationMessagePolicy: File imagePullPolicy: Always restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst