mirror of https://github.com/k3s-io/k3s
Merge pull request #28916 from luxas/flake_celery
Automatic merge from submit-queue Add liveness probe to the flower rc in order to fix a flake Fixes #27857 @fejta @ixdy @timstclair @mwielguspull/6/head
commit
4fdde68f78
|
@ -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)
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue