作者 Administrator

更新 allied-creation-user.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: allied-creation-user 4 name: allied-creation-user
5 - namespace: mmm-suplus-prd 5 + namespace: mmm-suplus-test
6 labels: 6 labels:
7 k8s-app: allied-creation-user 7 k8s-app: allied-creation-user
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-user 22 name: allied-creation-user
23 - namespace: mmm-suplus-prd 23 + namespace: mmm-suplus-test
24 labels: 24 labels:
25 k8s-app: allied-creation-user 25 k8s-app: allied-creation-user
26 spec: 26 spec:
@@ -47,7 +47,7 @@ spec: @@ -47,7 +47,7 @@ spec:
47 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy 47 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
48 containers: 48 containers:
49 - name: allied-creation-user 49 - name: allied-creation-user
50 - image: 192.168.0.243:5000/mmm/allied-creation-user:master 50 + image: 192.168.0.243:5000/mmm/allied-creation-user:dev
51 imagePullPolicy: Always 51 imagePullPolicy: Always
52 ports: 52 ports:
53 - containerPort: 8082 53 - containerPort: 8082
@@ -104,7 +104,7 @@ spec: @@ -104,7 +104,7 @@ spec:
104 - name: HTTP_PORT 104 - name: HTTP_PORT
105 value: "8082" 105 value: "8082"
106 - name: SERVICE_ENV 106 - name: SERVICE_ENV
107 - value: "prd" 107 + value: "test"
108 - name: REDIS_HOST 108 - name: REDIS_HOST
109 valueFrom: 109 valueFrom:
110 configMapKeyRef: 110 configMapKeyRef: