...
|
...
|
@@ -4,14 +4,14 @@ metadata: |
|
|
name: partner
|
|
|
namespace: mmm-suplus-dev
|
|
|
labels:
|
|
|
k8s-app: partner
|
|
|
k8s-app: partnermg
|
|
|
spec:
|
|
|
ports:
|
|
|
- name: "http"
|
|
|
port: 80
|
|
|
targetPort: 8082
|
|
|
selector:
|
|
|
k8s-app: partner
|
|
|
k8s-app: partnermg
|
|
|
---
|
|
|
apiVersion: extensions/v1beta1
|
|
|
kind: Deployment
|
...
|
...
|
@@ -19,13 +19,13 @@ metadata: |
|
|
name: partner
|
|
|
namespace: mmm-suplus-dev
|
|
|
labels:
|
|
|
k8s-app: partner
|
|
|
k8s-app: partnermg
|
|
|
spec:
|
|
|
replicas: 1
|
|
|
template:
|
|
|
metadata:
|
|
|
labels:
|
|
|
k8s-app: partner
|
|
|
k8s-app: partnermg
|
|
|
spec:
|
|
|
affinity:
|
|
|
nodeAffinity:
|
...
|
...
|
@@ -44,7 +44,7 @@ spec: |
|
|
- cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
|
|
|
containers:
|
|
|
- name: partner
|
|
|
image: 192.168.0.243:5000/mmm/partner:dev
|
|
|
image: 192.168.0.243:5000/mmm/partnermg:dev
|
|
|
imagePullPolicy: Always
|
|
|
ports:
|
|
|
- containerPort: 8082
|
...
|
...
|
|