Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- namespace: zhios
- name: zyos-app-hotel
- labels:
- app: zyos-app-hotel
- annotations:
- kubesphere.io/creator: dengbiao
- kubesphere.io/description: o2o酒店
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: zyos-app-hotel
- template:
- metadata:
- name: zyos-app-hotel
- labels:
- app: zyos-app-hotel
- spec:
- volumes:
- - name: host-time
- hostPath:
- path: /etc/localtime
- type: ''
- - name: zyos-app-hotel-cfg
- configMap:
- name: zyos-app-hotel
- defaultMode: 420
- containers:
- - name: zyos-app-hotel-container
- image: 'registry-vpc.cn-shenzhen.aliyuncs.com/fnuoos-prd/app-hotel:84122ff'
- ports:
- - containerPort: 5020
- name: 5020tcp
- protocol: TCP
- volumeMounts:
- - name: host-time
- readOnly: true
- mountPath: /etc/localtime
- - name: zyos-app-hotel
- readOnly: true
- mountPath: /var/zyos
- imagePullPolicy: Always
- restartPolicy: Always
- terminationGracePeriodSeconds: 30
- dnsPolicy: ClusterFirst
|