正在显示
1 个修改的文件
包含
69 行增加
和
63 行删除
| @@ -7,12 +7,12 @@ metadata: | @@ -7,12 +7,12 @@ metadata: | ||
| 7 | k8s-app: digital-platform | 7 | k8s-app: digital-platform |
| 8 | spec: | 8 | spec: |
| 9 | ports: | 9 | ports: |
| 10 | - - name: "http" | ||
| 11 | - port: 80 | ||
| 12 | - targetPort: 8080 | ||
| 13 | - - name: "https" | ||
| 14 | - port: 443 | ||
| 15 | - targetPort: 443 | 10 | + - name: "http" |
| 11 | + port: 80 | ||
| 12 | + targetPort: 8080 | ||
| 13 | + - name: "https" | ||
| 14 | + port: 443 | ||
| 15 | + targetPort: 443 | ||
| 16 | selector: | 16 | selector: |
| 17 | k8s-app: digital-platform | 17 | k8s-app: digital-platform |
| 18 | --- | 18 | --- |
| @@ -46,65 +46,71 @@ spec: | @@ -46,65 +46,71 @@ spec: | ||
| 46 | - cn-hangzhou.i-bp1euf5u1ph9kbhtndhb | 46 | - cn-hangzhou.i-bp1euf5u1ph9kbhtndhb |
| 47 | - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy | 47 | - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy |
| 48 | containers: | 48 | containers: |
| 49 | - - name: digital-platform | ||
| 50 | - image: 192.168.0.243:5000/mmm/digital-platform:dev | ||
| 51 | - imagePullPolicy: Always | ||
| 52 | - ports: | ||
| 53 | - - containerPort: 8080 | ||
| 54 | - - containerPort: 443 | ||
| 55 | - volumeMounts: | ||
| 56 | - - mountPath: /opt/logs | ||
| 57 | - name: accesslogs | ||
| 58 | - - mountPath: /go/src/digital-platform/uploads | ||
| 59 | - name: sgstorage-pvc1 | ||
| 60 | - env: | ||
| 61 | - - name: LOG_LEVEL | ||
| 62 | - value: "debug" | ||
| 63 | - - name: LOG_FILE | ||
| 64 | - value: "true" | ||
| 65 | - - name: ENV_MOD | ||
| 66 | - value: "dev" | ||
| 67 | - - name: ERROR_BASE_CODE | ||
| 68 | - value: "1" | ||
| 69 | - - name: ERROR_BASE_CODE_MULTIPLE | ||
| 70 | - value: "1000" | ||
| 71 | - - name: POSTGRESQL_DB_NAME | ||
| 72 | - value: "" | ||
| 73 | - - name: ENABLE_HTTPS | ||
| 74 | - value: "true" | ||
| 75 | - - name: POSTGRESQL_USER | ||
| 76 | - valueFrom: | ||
| 77 | - configMapKeyRef: | ||
| 78 | - name: suplus-config | ||
| 79 | - key: postgresql.user | ||
| 80 | - - name: POSTGRESQL_PASSWORD | ||
| 81 | - valueFrom: | ||
| 82 | - configMapKeyRef: | ||
| 83 | - name: suplus-config | ||
| 84 | - key: postgresql.password | ||
| 85 | - - name: POSTGRESQL_HOST | ||
| 86 | - valueFrom: | ||
| 87 | - configMapKeyRef: | ||
| 88 | - name: suplus-config | ||
| 89 | - key: postgresql.host | ||
| 90 | - - name: POSTGRESQL_PORT | ||
| 91 | - valueFrom: | ||
| 92 | - configMapKeyRef: | ||
| 93 | - name: suplus-config | ||
| 94 | - key: postgresql.port | ||
| 95 | - - name: REDIS_HOST | ||
| 96 | - valueFrom: | ||
| 97 | - configMapKeyRef: | ||
| 98 | - name: suplus-config | ||
| 99 | - key: redis.ip | ||
| 100 | - - name: REDIS_PORT | ||
| 101 | - valueFrom: | ||
| 102 | - configMapKeyRef: | ||
| 103 | - name: suplus-config | ||
| 104 | - key: redis.port | 49 | + - name: digital-platform |
| 50 | + image: 192.168.0.243:5000/mmm/digital-platform:dev | ||
| 51 | + imagePullPolicy: Always | ||
| 52 | + ports: | ||
| 53 | + - containerPort: 8080 | ||
| 54 | + - containerPort: 443 | ||
| 55 | + volumeMounts: | ||
| 56 | + - mountPath: /opt/logs | ||
| 57 | + name: accesslogs | ||
| 58 | + - mountPath: /go/src/digital-platform/uploads | ||
| 59 | + name: sgstorage-pvc1 | ||
| 60 | + env: | ||
| 61 | + - name: LOG_LEVEL | ||
| 62 | + value: "debug" | ||
| 63 | + - name: LOG_FILE | ||
| 64 | + value: "true" | ||
| 65 | + - name: ENV_MOD | ||
| 66 | + value: "dev" | ||
| 67 | + - name: ERROR_BASE_CODE | ||
| 68 | + value: "1" | ||
| 69 | + - name: ERROR_BASE_CODE_MULTIPLE | ||
| 70 | + value: "1000" | ||
| 71 | + - name: POSTGRESQL_DB_NAME | ||
| 72 | + value: "" | ||
| 73 | + - name: ENABLE_HTTPS | ||
| 74 | + value: "true" | ||
| 75 | + - name: POSTGRESQL_USER | ||
| 76 | + valueFrom: | ||
| 77 | + configMapKeyRef: | ||
| 78 | + name: suplus-config | ||
| 79 | + key: postgresql.user | ||
| 80 | + - name: POSTGRESQL_PASSWORD | ||
| 81 | + valueFrom: | ||
| 82 | + configMapKeyRef: | ||
| 83 | + name: suplus-config | ||
| 84 | + key: postgresql.password | ||
| 85 | + - name: POSTGRESQL_HOST | ||
| 86 | + valueFrom: | ||
| 87 | + configMapKeyRef: | ||
| 88 | + name: suplus-config | ||
| 89 | + key: postgresql.host | ||
| 90 | + - name: POSTGRESQL_PORT | ||
| 91 | + valueFrom: | ||
| 92 | + configMapKeyRef: | ||
| 93 | + name: suplus-config | ||
| 94 | + key: postgresql.port | ||
| 95 | + - name: REDIS_HOST | ||
| 96 | + valueFrom: | ||
| 97 | + configMapKeyRef: | ||
| 98 | + name: suplus-config | ||
| 99 | + key: redis.ip | ||
| 100 | + - name: REDIS_PORT | ||
| 101 | + valueFrom: | ||
| 102 | + configMapKeyRef: | ||
| 103 | + name: suplus-config | ||
| 104 | + key: redis.port | ||
| 105 | + - name: KAFKA_HOSTS | ||
| 106 | + value: 127.0.0.1:9092 | ||
| 107 | + - name: KAFKA_BUSINESS_ADMIN_TOPIC | ||
| 108 | + value: mmm-business-admin-dev | ||
| 109 | + - name: KAFKA_GROUP_ID | ||
| 110 | + value: performance_dev | ||
| 105 | volumes: | 111 | volumes: |
| 106 | - name: accesslogs | 112 | - name: accesslogs |
| 107 | emptyDir: {} | 113 | emptyDir: {} |
| 108 | - name: sgstorage-pvc1 | 114 | - name: sgstorage-pvc1 |
| 109 | persistentVolumeClaim: | 115 | persistentVolumeClaim: |
| 110 | - claimName: sgstorage-pvc | ||
| 116 | + claimName: sgstorage-pvc |
-
请 注册 或 登录 后发表评论