作者 Administrator

更新 partner.yaml

apiVersion: v1
kind: Service
metadata:
name: mmm-partnermg
name: mmm-01-partnermg
namespace: mmm-suplus-prd
labels:
k8s-app: mmm-partnermg
k8s-app: mmm-01-partnermg
spec:
ports:
- name: "http"
port: 80
targetPort: 8082
selector:
k8s-app: mmm-partnermg
k8s-app: mmm-01-partnermg
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mmm-partnermg
name: mmm-01-partnermg
namespace: mmm-suplus-prd
labels:
k8s-app: mmm-partnermg
k8s-app: mmm-01-partnermg
spec:
replicas: 1
template:
metadata:
labels:
k8s-app: mmm-partnermg
k8s-app: mmm-01-partnermg
spec:
affinity:
nodeAffinity:
... ... @@ -40,8 +40,8 @@ spec:
values:
- cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
containers:
- name: mmm-partnermg
image: 192.168.0.243:5000/mmm/mmm-partnermg:master
- name: mmm-01-partnermg
image: 192.168.0.243:5000/mmm/mmm-partnermg:sample01
imagePullPolicy: Always
ports:
- containerPort: 8082
... ... @@ -54,11 +54,11 @@ spec:
- name: POSTGRESQL_USER
value: "postgres"
- name: POSTGRESQL_PASSWORD
value: "postgres_55_online"
value: "chJVQkg1sys"
- name: POSTGRESQL_HOST
value: "112.124.115.55"
value: "114.55.200.59"
- name: POSTGRESQL_PORT
value: "15432"
value: "31544"
- name: LOG_LEVEL
value: "debug"
- name: ERROR_BASE_CODE
... ...