1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: e-school-frontend
- namespace: i2
- spec:
- selector:
- matchLabels:
- app: e-school-frontend
- template:
- metadata:
- labels:
- app: e-school-frontend
- spec:
- hostAliases:
- - ip: "192.168.0.1"
- hostnames:
- - "www.ccbeetech.com"
- - "ccbeetech.com"
- containers:
- - name: e-school-frontend
- image: docker.i2erp.cn/e-school-frontend:10049
- volumeMounts:
- - name: config
- mountPath: /app/web/config.js
- subPath: config.js
- - name: config
- mountPath: /app/conf/app.conf
- subPath: app.conf
- resources:
- limits:
- memory: "2Gi"
- cpu: "1000m"
- requests:
- memory: "10Mi"
- cpu: "11m"
- ports:
- - containerPort: 80
- imagePullSecrets:
- - name: registrykey-i2erp
- volumes:
- - name: config
- configMap:
- name: e-school-frontend
|