|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: app-bakery
- namespace: develop
- labels:
- app: app-bakery
- annotations:
- kubesphere.io/creator: dengbiao
- kubesphere.io/description: 面包店
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: app-bakery
- template:
- metadata:
- labels:
- app: app-bakery
- spec:
- volumes:
- - name: host-time
- hostPath:
- path: /etc/localtime
- type: ''
- - name: app-bakery
- configMap:
- name: app-bakery
- defaultMode: 420
- containers:
- - name: container-app-comm-one-circles
- image: 'registry-vpc.cn-shenzhen.aliyuncs.com/fnuoos-prd/app-bakery:0.0.1'
- ports:
- - name: httpcomm4001
- containerPort: 4001
- protocol: TCP
- volumeMounts:
- - name: host-time
- readOnly: true
- mountPath: /etc/localtime
- - name: app-comm-one-circles
- readOnly: true
- mountPath: /var/zyos
- imagePullPolicy: Always
- restartPolicy: Always
- terminationGracePeriodSeconds: 30
- dnsPolicy: ClusterFirst
|