Skip to content

Commit

Permalink
Add liveness probe to the flower rc in order to fix a flake
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Jul 23, 2016
1 parent eaf3d3f commit 5db3f6d
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 394 deletions.
7 changes: 7 additions & 0 deletions examples/celery-rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions examples/celery-rabbitmq/flower-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 5db3f6d

Please sign in to comment.