正在显示
1 个修改的文件
包含
45 行增加
和
2 行删除
@@ -2,7 +2,7 @@ apiVersion: v1 | @@ -2,7 +2,7 @@ apiVersion: v1 | ||
2 | kind: Service | 2 | kind: Service |
3 | metadata: | 3 | metadata: |
4 | name: allied-creation-cooperation | 4 | name: allied-creation-cooperation |
5 | - namespace: mmm-suplus-test | 5 | + namespace: mmm-suplus-dev |
6 | labels: | 6 | labels: |
7 | k8s-app: allied-creation-cooperation | 7 | k8s-app: allied-creation-cooperation |
8 | spec: | 8 | spec: |
@@ -20,7 +20,7 @@ apiVersion: extensions/v1beta1 | @@ -20,7 +20,7 @@ apiVersion: extensions/v1beta1 | ||
20 | kind: Deployment | 20 | kind: Deployment |
21 | metadata: | 21 | metadata: |
22 | name: allied-creation-cooperation | 22 | name: allied-creation-cooperation |
23 | - namespace: mmm-suplus-test | 23 | + namespace: mmm-suplus-dev |
24 | labels: | 24 | labels: |
25 | k8s-app: allied-creation-cooperation | 25 | k8s-app: allied-creation-cooperation |
26 | spec: | 26 | spec: |
@@ -58,10 +58,53 @@ spec: | @@ -58,10 +58,53 @@ spec: | ||
58 | env: | 58 | env: |
59 | - name: LOG_LEVEL | 59 | - name: LOG_LEVEL |
60 | value: "debug" | 60 | value: "debug" |
61 | + - name: LOG_FRAMEWORK | ||
62 | + value: "beego" | ||
63 | + - name: LOG_TYPE | ||
64 | + value: "file" | ||
61 | - name: ERROR_BASE_CODE | 65 | - name: ERROR_BASE_CODE |
62 | value: "1" | 66 | value: "1" |
63 | - name: ERROR_BASE_CODE_MULTIPLE | 67 | - name: ERROR_BASE_CODE_MULTIPLE |
64 | value: "1000" | 68 | value: "1000" |
69 | + - name: ENABLE_KAFKA_LOG | ||
70 | + value: "false" | ||
71 | + - name: USER_MODULE_HOST | ||
72 | + value: "http://allied-creation-user-dev.fjmaimaimai.com" | ||
73 | + - name: REDIS_HOST | ||
74 | + valueFrom: | ||
75 | + configMapKeyRef: | ||
76 | + name: suplus-config | ||
77 | + key: redis.ip | ||
78 | + - name: REDIS_PORT | ||
79 | + valueFrom: | ||
80 | + configMapKeyRef: | ||
81 | + name: suplus-config | ||
82 | + key: redis.port | ||
83 | + - name: POSTGRESQL_DB_NAME | ||
84 | + valueFrom: | ||
85 | + configMapKeyRef: | ||
86 | + name: suplus-config | ||
87 | + key: postgresqlalliedcreationcooperation.dbname | ||
88 | + - name: POSTGRESQL_USER | ||
89 | + valueFrom: | ||
90 | + configMapKeyRef: | ||
91 | + name: suplus-config | ||
92 | + key: postgresql.user | ||
93 | + - name: POSTGRESQL_PASSWORD | ||
94 | + valueFrom: | ||
95 | + configMapKeyRef: | ||
96 | + name: suplus-config | ||
97 | + key: postgresql.password | ||
98 | + - name: POSTGRESQL_HOST | ||
99 | + valueFrom: | ||
100 | + configMapKeyRef: | ||
101 | + name: suplus-config | ||
102 | + key: postgresql.host | ||
103 | + - name: POSTGRESQL_PORT | ||
104 | + valueFrom: | ||
105 | + configMapKeyRef: | ||
106 | + name: suplus-config | ||
107 | + key: postgresql.port | ||
65 | volumes: | 108 | volumes: |
66 | - name: accesslogs | 109 | - name: accesslogs |
67 | emptyDir: {} | 110 | emptyDir: {} |
-
请 注册 或 登录 后发表评论