|
|
@@ -0,0 +1,53 @@ |
|
|
|
kind: Deployment |
|
|
|
apiVersion: apps/v1 |
|
|
|
metadata: |
|
|
|
name: zyos-camp-task-store |
|
|
|
namespace: zhios |
|
|
|
labels: |
|
|
|
app: zyos-camp-task-store |
|
|
|
annotations: |
|
|
|
kubesphere.io/creator: dengbiao |
|
|
|
spec: |
|
|
|
replicas: 1 |
|
|
|
selector: |
|
|
|
matchLabels: |
|
|
|
app: zyos-camp-task-store |
|
|
|
template: |
|
|
|
metadata: |
|
|
|
name: zyos-camp-task-store |
|
|
|
creationTimestamp: null |
|
|
|
labels: |
|
|
|
app: zyos-camp-task-store |
|
|
|
spec: |
|
|
|
volumes: |
|
|
|
- name: zyos-camp-task-store-html |
|
|
|
persistentVolumeClaim: |
|
|
|
claimName: zyos-camp-task-store-pvc |
|
|
|
- name: zyos-camp-task-store-nginx |
|
|
|
configMap: |
|
|
|
name: zyos-camp-task-store-nginx |
|
|
|
items: |
|
|
|
- key: nginx-conf |
|
|
|
path: default.conf |
|
|
|
defaultMode: 436 |
|
|
|
containers: |
|
|
|
- name: zyos-camp-task-store |
|
|
|
image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/nginx:latest' |
|
|
|
ports: |
|
|
|
- name: tcp80 |
|
|
|
containerPort: 80 |
|
|
|
protocol: TCP |
|
|
|
resources: |
|
|
|
limits: |
|
|
|
cpu: 200m |
|
|
|
requests: |
|
|
|
cpu: 200m |
|
|
|
memory: 200Mi |
|
|
|
volumeMounts: |
|
|
|
- name: zyos-camp-task-store-html |
|
|
|
mountPath: /usr/share/nginx/html |
|
|
|
- name: zyos-camp-task-store-nginx |
|
|
|
mountPath: /etc/nginx/conf.d/default.conf |
|
|
|
subPath: default.conf |
|
|
|
restartPolicy: Always |
|
|
|
dnsPolicy: ClusterFirst |