面包店
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

48 linhas
1.2 KiB

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