正在显示
1 个修改的文件
包含
4 行增加
和
40 行删除
1 | apiVersion: v1 | 1 | apiVersion: v1 |
2 | -kind: ConfigMap | ||
3 | -metadata: | ||
4 | - name: sumicro-chat-config-prd | ||
5 | -data: | ||
6 | - config.yml: | | ||
7 | - Name: sumicro-chat-prd | ||
8 | - Host: 0.0.0.0 | ||
9 | - Port: 8080 | ||
10 | - | ||
11 | - Verbose: false | ||
12 | - Migrate: true | ||
13 | - Timeout: 30000 | ||
14 | - LogRequest: true # 记录详细请求日志 | ||
15 | - | ||
16 | - Log: | ||
17 | - #Mode: file | ||
18 | - Encoding: plain | ||
19 | - Level: debug # info | ||
20 | - MaxSize: 1 # 2MB | ||
21 | - TimeFormat: 2006-01-02 15:04:05 | ||
22 | - Rotation: size | ||
23 | - MaxContentLength: 10240 | ||
24 | - | ||
25 | - SystemAuth: | ||
26 | - AccessSecret: su-platform | ||
27 | - AccessExpire: 360000 | ||
28 | - | ||
29 | - Redis: | ||
30 | - Host: 192.168.0.243:6379 | ||
31 | - Type: node | ||
32 | - Pass: | ||
33 | - DB: | ||
34 | - DataSource: host=114.55.200.59 user=postgres password=eagle1010 dbname=su_enterprise_platform port=31543 sslmode=disable TimeZone=Asia/Shanghai | ||
35 | - | ||
36 | ---- | ||
37 | -apiVersion: v1 | ||
38 | kind: Service | 2 | kind: Service |
39 | metadata: | 3 | metadata: |
40 | name: sumicro-chat | 4 | name: sumicro-chat |
41 | - namespace: mmm-suplus-test | 5 | + namespace: mmm-suplus-prd |
42 | labels: | 6 | labels: |
43 | k8s-app: sumicro-chat | 7 | k8s-app: sumicro-chat |
44 | spec: | 8 | spec: |
@@ -56,7 +20,7 @@ apiVersion: extensions/v1beta1 | @@ -56,7 +20,7 @@ apiVersion: extensions/v1beta1 | ||
56 | kind: Deployment | 20 | kind: Deployment |
57 | metadata: | 21 | metadata: |
58 | name: sumicro-chat | 22 | name: sumicro-chat |
59 | - namespace: mmm-suplus-test | 23 | + namespace: mmm-suplus-prd |
60 | labels: | 24 | labels: |
61 | k8s-app: sumicro-chat | 25 | k8s-app: sumicro-chat |
62 | spec: | 26 | spec: |
@@ -77,11 +41,11 @@ spec: | @@ -77,11 +41,11 @@ spec: | ||
77 | - key: kubernetes.io/hostname | 41 | - key: kubernetes.io/hostname |
78 | operator: In | 42 | operator: In |
79 | values: | 43 | values: |
80 | - - cn-hangzhou.i-bp1djh1xn7taumbue1ze | 44 | + - cn-hangzhou.i-bp1djh1xn7taumbue1zd |
81 | 45 | ||
82 | containers: | 46 | containers: |
83 | - name: sumicro-chat | 47 | - name: sumicro-chat |
84 | - image: 192.168.0.243:5000/mmm/sumicro-chat:dev | 48 | + image: 192.168.0.243:5000/mmm/sumicro-chat:master |
85 | imagePullPolicy: Always | 49 | imagePullPolicy: Always |
86 | ports: | 50 | ports: |
87 | - containerPort: 8080 | 51 | - containerPort: 8080 |
-
请 注册 或 登录 后发表评论