Commit 206e0e0f authored by Yori Fournier's avatar Yori Fournier
Browse files

added pgapp, and pgdata in deployment

parent 204c4c76
apiVersion: apps/v1
kind: DeploymentConfig
kind: Deployment
metadata:
name: deploy-wpdb
labels:
......@@ -30,3 +30,47 @@ spec:
image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-wpdb:latest
ports:
- containerPort: 5280
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: deploy-pgapp
labels:
app: pgapp
spec:
replicas: 1
selector:
matchLabels:
app: pgapp
template:
metadata:
labels:
app: pgapp
spec:
containers:
- name: pgapp
image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgapp:latest
ports:
- containerPort: 5282
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: deploy-pgdata
labels:
app: pgdata
spec:
replicas: 1
selector:
matchLabels:
app: pgdata
template:
metadata:
labels:
app: pgdata
spec:
containers:
- name: pgdata
image: docker-registry.default.svc:5000/daiquiri-test-instance-498/image-pgdata:latest
ports:
- containerPort: 5281
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment