劲创营---任务项目
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.
 
 
 

48 lines
1.2 KiB

  1. kind: Deployment
  2. apiVersion: apps/v1
  3. metadata:
  4. name: zhios-app-comm
  5. namespace: zhios
  6. labels:
  7. app: zhios-app-comm
  8. annotations:
  9. kubesphere.io/creator: wuhanqin
  10. kubesphere.io/description: 智莺生活 app 公共模块
  11. spec:
  12. replicas: 1
  13. selector:
  14. matchLabels:
  15. app: zhios-app-comm
  16. template:
  17. metadata:
  18. labels:
  19. app: zhios-app-comm
  20. spec:
  21. volumes:
  22. - name: host-time
  23. hostPath:
  24. path: /etc/localtime
  25. type: ''
  26. - name: zhios-app-comm-cfg
  27. configMap:
  28. name: zhios-app-comm
  29. defaultMode: 420
  30. containers:
  31. - name: container-app-comm
  32. image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/app-comm:0.1'
  33. ports:
  34. - name: httpcomm5003
  35. containerPort: 5003
  36. protocol: TCP
  37. volumeMounts:
  38. - name: host-time
  39. readOnly: true
  40. mountPath: /etc/localtime
  41. - name: zhios-app-comm-cfg
  42. readOnly: true
  43. mountPath: /var/zyos
  44. imagePullPolicy: Always
  45. restartPolicy: Always
  46. terminationGracePeriodSeconds: 30
  47. dnsPolicy: ClusterFirst