Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: egg-pc
- namespace: egg
- labels:
- app: egg-pc
- annotations:
- kubesphere.io/creator: dengbiao
- kubesphere.io/description: egg-pc
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: egg-pc
- template:
- metadata:
- labels:
- app: egg-pc
- spec:
- volumes:
- - name: host-time
- hostPath:
- path: /etc/localtime
- type: ''
- - name: egg-pc-nginx
- configMap:
- name: egg-pc-nginx
- items:
- - key: pc.conf
- path: default.conf
- defaultMode: 420
- - name: egg-pc
- persistentVolumeClaim:
- claimName: egg-pc
- containers:
- - name: container-pc
- image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/nginx:latest'
- ports:
- - name: tcp-80
- containerPort: 80
- protocol: TCP
- resources: {}
- volumeMounts:
- - name: host-time
- readOnly: true
- mountPath: /etc/localtime
- - name: egg-pc-nginx
- readOnly: true
- mountPath: /etc/nginx/conf.d/default.conf
- subPath: default.conf
- - name: egg-pc
- mountPath: /usr/share/nginx/html
- restartPolicy: Always
- terminationGracePeriodSeconds: 30
- dnsPolicy: ClusterFirst
|