作者 yangfu

Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/partner into dev

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