123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- apiVersion: apps/v1beta1
- kind: Deployment
- metadata:
- name: e-school-mobile
- namespace: i2
- spec:
- replicas: 3
- selector:
- matchLabels:
- app: e-school-mobile
- template:
- metadata:
- labels:
- app: e-school-mobile
- spec:
- hostAliases:
- - ip: "192.168.0.1"
- hostnames:
- - "www.ccbeetech.com"
- - "ccbeetech.com"
- containers:
- - name: e-school-mobile
- # 479
- image: docker.i2erp.cn/e-school-backend:10863
- volumeMounts:
- - name: es-upload
- mountPath: /app/files
- readOnly: false
- subPath: files
- - name: es-upload
- mountPath: /app/static
- readOnly: false
- subPath: static
- - name: config
- mountPath: /app/conf/
- - name: date-config
- mountPath: /etc/localtime
- resources:
- requests:
- memory: "1Gi"
- cpu: "1000m"
- ports:
- - containerPort: 8080
- - containerPort: 389
- imagePullSecrets:
- - name: registrykey-i2erp
- volumes:
- - name: config
- configMap:
- name: e-school-mobile
- - name: date-config
- hostPath:
- path: /etc/localtime
- - name: es-upload
- persistentVolumeClaim:
- claimName: es-upload
|