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