Add liveness probe to the flower rc in order to fix a flake

pull/6/head
Lucas Käldström 2016-07-24 00:08:52 +03:00
parent eaf3d3f708
commit 5db3f6d25e
3 changed files with 413 additions and 401 deletions

View File

@ -272,6 +272,13 @@ spec:
resources:
limits:
cpu: 100m
livenessProbe:
httpGet:
# Path to probe; should be cheap, but representative of typical behavior
path: /
port: 80
initialDelaySeconds: 30
timeoutSeconds: 1
```
[Download example](flower-controller.yaml?raw=true)

View File

@ -18,3 +18,10 @@ spec:
resources:
limits:
cpu: 100m
livenessProbe:
httpGet:
# Path to probe; should be cheap, but representative of typical behavior
path: /
port: 80
initialDelaySeconds: 30
timeoutSeconds: 1

File diff suppressed because one or more lines are too long