作者 Administrator

更新 partner.yaml

apiVersion: v1
kind: Service
metadata:
name: partnermg
name: mmm-partnermg
namespace: mmm-suplus-dev
labels:
k8s-app: partnermg
k8s-app: mmm-partnermg
spec:
ports:
- name: "http"
port: 80
targetPort: 8082
selector:
k8s-app: partnermg
k8s-app: mmm-partnermg
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: partnermg
name: mmm-partnermg
namespace: mmm-suplus-dev
labels:
k8s-app: partnermg
k8s-app: mmm-partnermg
spec:
replicas: 1
template:
metadata:
labels:
k8s-app: partnermg
k8s-app: mmm-partnermg
spec:
affinity:
nodeAffinity:
... ... @@ -43,7 +43,7 @@ spec:
- cn-hangzhou.i-bp1euf5u1ph9kbhtndhb
- cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
containers:
- name: partnermg
- name: mmm-partnermg
image: 192.168.0.243:5000/mmm/partnermg:dev
imagePullPolicy: Always
ports:
... ...