Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- 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
|