apiVersion: apps/v1 kind: Deployment metadata: name: i2-pusher-frontend namespace: i2 spec: selector: matchLabels: app: i2-pusher-frontend template: metadata: labels: app: i2-pusher-frontend spec: hostAliases: - ip: "192.168.0.1" hostnames: - "www.ccbeetech.com" - "ccbeetech.com" containers: - name: i2-pusher-frontend image: docker.i2erp.cn/i2-pusher-frontend:10078 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: i2-pusher-frontend