作者 Administrator

更新 mmm-worth.yaml

@@ -2,7 +2,7 @@ apiVersion: v1 @@ -2,7 +2,7 @@ apiVersion: v1
2 kind: Service 2 kind: Service
3 metadata: 3 metadata:
4 name: mmm-worth 4 name: mmm-worth
5 - namespace: mmm-suplus-dev 5 + namespace: mmm-suplus-test
6 labels: 6 labels:
7 k8s-app: mmm-worth 7 k8s-app: mmm-worth
8 spec: 8 spec:
@@ -17,7 +17,7 @@ apiVersion: extensions/v1beta1 @@ -17,7 +17,7 @@ apiVersion: extensions/v1beta1
17 kind: Deployment 17 kind: Deployment
18 metadata: 18 metadata:
19 name: mmm-worth 19 name: mmm-worth
20 - namespace: mmm-suplus-dev 20 + namespace: mmm-suplus-test
21 labels: 21 labels:
22 k8s-app: mmm-worth 22 k8s-app: mmm-worth
23 spec: 23 spec:
@@ -44,7 +44,7 @@ spec: @@ -44,7 +44,7 @@ spec:
44 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy 44 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
45 containers: 45 containers:
46 - name: mmm-worth 46 - name: mmm-worth
47 - image: 192.168.0.243:5000/mmm/mmm-worth:dev 47 + image: 192.168.0.243:5000/mmm/mmm-worth:test
48 imagePullPolicy: Always 48 imagePullPolicy: Always
49 ports: 49 ports:
50 - containerPort: 8082 50 - containerPort: 8082
@@ -53,7 +53,7 @@ spec: @@ -53,7 +53,7 @@ spec:
53 name: accesslogs 53 name: accesslogs
54 env: 54 env:
55 - name: POSTGRESQL_DB_NAME 55 - name: POSTGRESQL_DB_NAME
56 - value: "mmmworth" 56 + value: "mmmworthtest"
57 - name: POSTGRESQL_USER 57 - name: POSTGRESQL_USER
58 value: "postgres" 58 value: "postgres"
59 - name: POSTGRESQL_PASSWORD 59 - name: POSTGRESQL_PASSWORD