...
|
...
|
@@ -2,7 +2,7 @@ apiVersion: v1 |
|
|
kind: Service
|
|
|
metadata:
|
|
|
name: mmm-worth
|
|
|
namespace: mmm-suplus-dev
|
|
|
namespace: mmm-suplus-test
|
|
|
labels:
|
|
|
k8s-app: mmm-worth
|
|
|
spec:
|
...
|
...
|
@@ -17,7 +17,7 @@ apiVersion: extensions/v1beta1 |
|
|
kind: Deployment
|
|
|
metadata:
|
|
|
name: mmm-worth
|
|
|
namespace: mmm-suplus-dev
|
|
|
namespace: mmm-suplus-test
|
|
|
labels:
|
|
|
k8s-app: mmm-worth
|
|
|
spec:
|
...
|
...
|
@@ -44,7 +44,7 @@ spec: |
|
|
- cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
|
|
|
containers:
|
|
|
- name: mmm-worth
|
|
|
image: 192.168.0.243:5000/mmm/mmm-worth:dev
|
|
|
image: 192.168.0.243:5000/mmm/mmm-worth:test
|
|
|
imagePullPolicy: Always
|
|
|
ports:
|
|
|
- containerPort: 8082
|
...
|
...
|
@@ -53,7 +53,7 @@ spec: |
|
|
name: accesslogs
|
|
|
env:
|
|
|
- name: POSTGRESQL_DB_NAME
|
|
|
value: "mmmworth"
|
|
|
value: "mmmworthtest"
|
|
|
- name: POSTGRESQL_USER
|
|
|
value: "postgres"
|
|
|
- name: POSTGRESQL_PASSWORD
|
...
|
...
|
|