Skip to content

Commit e765895

Browse files
committed
feat(manifests): add healthcheck to replication controller
1 parent 1496fb6 commit e765895

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

manifests/deis-workflow-rc.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: v1
22
kind: ReplicationController
33
metadata:
44
name: deis-workflow
5+
namespace: deis
56
labels:
67
heritage: deis
78
spec:
@@ -16,9 +17,20 @@ spec:
1617
containers:
1718
- name: deis-workflow
1819
image: quay.io/deisci/workflow:v2-alpha
20+
livenessProbe:
21+
httpGet:
22+
path: /health-check
23+
port: 8000
24+
initialDelaySeconds: 30
25+
timeoutSeconds: 1
26+
imagePullPolicy: Always
1927
env:
2028
- name: DEBUG
2129
value: "true"
30+
- name: DEIS_DATABASE_USER
31+
value: deis
32+
- name: DEIS_DATABASE_PASSWORD
33+
value: changeme123
2234
ports:
2335
- containerPort: 8000
2436
name: http

0 commit comments

Comments
 (0)