正在显示
1 个修改的文件
包含
11 行增加
和
11 行删除
1 | apiVersion: v1 | 1 | apiVersion: v1 |
2 | kind: Service | 2 | kind: Service |
3 | metadata: | 3 | metadata: |
4 | - name: mmm-partnermg | 4 | + name: mmm-01-partnermg |
5 | namespace: mmm-suplus-prd | 5 | namespace: mmm-suplus-prd |
6 | labels: | 6 | labels: |
7 | - k8s-app: mmm-partnermg | 7 | + k8s-app: mmm-01-partnermg |
8 | spec: | 8 | spec: |
9 | ports: | 9 | ports: |
10 | - name: "http" | 10 | - name: "http" |
11 | port: 80 | 11 | port: 80 |
12 | targetPort: 8082 | 12 | targetPort: 8082 |
13 | selector: | 13 | selector: |
14 | - k8s-app: mmm-partnermg | 14 | + k8s-app: mmm-01-partnermg |
15 | --- | 15 | --- |
16 | apiVersion: extensions/v1beta1 | 16 | apiVersion: extensions/v1beta1 |
17 | kind: Deployment | 17 | kind: Deployment |
18 | metadata: | 18 | metadata: |
19 | - name: mmm-partnermg | 19 | + name: mmm-01-partnermg |
20 | namespace: mmm-suplus-prd | 20 | namespace: mmm-suplus-prd |
21 | labels: | 21 | labels: |
22 | - k8s-app: mmm-partnermg | 22 | + k8s-app: mmm-01-partnermg |
23 | spec: | 23 | spec: |
24 | replicas: 1 | 24 | replicas: 1 |
25 | template: | 25 | template: |
26 | metadata: | 26 | metadata: |
27 | labels: | 27 | labels: |
28 | - k8s-app: mmm-partnermg | 28 | + k8s-app: mmm-01-partnermg |
29 | spec: | 29 | spec: |
30 | affinity: | 30 | affinity: |
31 | nodeAffinity: | 31 | nodeAffinity: |
@@ -40,8 +40,8 @@ spec: | @@ -40,8 +40,8 @@ spec: | ||
40 | values: | 40 | values: |
41 | - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy | 41 | - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy |
42 | containers: | 42 | containers: |
43 | - - name: mmm-partnermg | ||
44 | - image: 192.168.0.243:5000/mmm/mmm-partnermg:master | 43 | + - name: mmm-01-partnermg |
44 | + image: 192.168.0.243:5000/mmm/mmm-partnermg:sample01 | ||
45 | imagePullPolicy: Always | 45 | imagePullPolicy: Always |
46 | ports: | 46 | ports: |
47 | - containerPort: 8082 | 47 | - containerPort: 8082 |
@@ -54,11 +54,11 @@ spec: | @@ -54,11 +54,11 @@ spec: | ||
54 | - name: POSTGRESQL_USER | 54 | - name: POSTGRESQL_USER |
55 | value: "postgres" | 55 | value: "postgres" |
56 | - name: POSTGRESQL_PASSWORD | 56 | - name: POSTGRESQL_PASSWORD |
57 | - value: "postgres_55_online" | 57 | + value: "chJVQkg1sys" |
58 | - name: POSTGRESQL_HOST | 58 | - name: POSTGRESQL_HOST |
59 | - value: "112.124.115.55" | 59 | + value: "114.55.200.59" |
60 | - name: POSTGRESQL_PORT | 60 | - name: POSTGRESQL_PORT |
61 | - value: "15432" | 61 | + value: "31544" |
62 | - name: LOG_LEVEL | 62 | - name: LOG_LEVEL |
63 | value: "debug" | 63 | value: "debug" |
64 | - name: ERROR_BASE_CODE | 64 | - name: ERROR_BASE_CODE |
-
请 注册 或 登录 后发表评论