面包店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

deployment-dev.yaml 1.5 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. kind: Deployment
  2. apiVersion: apps/v1
  3. metadata:
  4. name: zhios-app-order-task-v3
  5. namespace: zhios
  6. labels:
  7. app: zhios-app-order-task-v3
  8. annotations:
  9. kubesphere.io/creator: huangjiajun
  10. kubesphere.io/description: 智莺生活跟单
  11. spec:
  12. replicas: 1
  13. selector:
  14. matchLabels:
  15. app: zhios-app-order-task-v3
  16. template:
  17. metadata:
  18. labels:
  19. app: zhios-app-order-task-v3
  20. spec:
  21. volumes:
  22. - name: host-time
  23. hostPath:
  24. path: /etc/localtime
  25. type: ''
  26. - name: zhios-app-order-task-v3
  27. configMap:
  28. name: zhios-app-order-task
  29. items:
  30. - key: task.yml
  31. path: task.yml
  32. defaultMode: 420
  33. containers:
  34. - name: zhios-app-order-task-v3
  35. image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/zyos-task-v3:240313193'
  36. resources:
  37. limits:
  38. cpu: 500m
  39. memory: 1000Mi
  40. requests:
  41. cpu: 200m
  42. memory: 100Mi
  43. volumeMounts:
  44. - name: host-time
  45. readOnly: true
  46. mountPath: /etc/localtime
  47. - name: zhios-app-order-task-v3
  48. readOnly: true
  49. mountPath: /var/zyos/task.yml
  50. subPath: task.yml
  51. terminationMessagePath: /dev/termination-log
  52. terminationMessagePolicy: File
  53. imagePullPolicy: Always
  54. restartPolicy: Always
  55. terminationGracePeriodSeconds: 30
  56. dnsPolicy: ClusterFirst