作者 tangxvhui

配置更新

@@ -4,14 +4,14 @@ metadata: @@ -4,14 +4,14 @@ metadata:
4 name: partner 4 name: partner
5 namespace: mmm-suplus-dev 5 namespace: mmm-suplus-dev
6 labels: 6 labels:
7 - k8s-app: partner 7 + k8s-app: 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: partner 14 + k8s-app: partnermg
15 --- 15 ---
16 apiVersion: extensions/v1beta1 16 apiVersion: extensions/v1beta1
17 kind: Deployment 17 kind: Deployment
@@ -19,13 +19,13 @@ metadata: @@ -19,13 +19,13 @@ metadata:
19 name: partner 19 name: partner
20 namespace: mmm-suplus-dev 20 namespace: mmm-suplus-dev
21 labels: 21 labels:
22 - k8s-app: partner 22 + k8s-app: 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: partner 28 + k8s-app: partnermg
29 spec: 29 spec:
30 affinity: 30 affinity:
31 nodeAffinity: 31 nodeAffinity:
@@ -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: partner 46 - name: partner
47 - image: 192.168.0.243:5000/mmm/partner:dev 47 + image: 192.168.0.243:5000/mmm/partnermg:dev
48 imagePullPolicy: Always 48 imagePullPolicy: Always
49 ports: 49 ports:
50 - containerPort: 8082 50 - containerPort: 8082