mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Add liveness probe to the flower rc in order to fix a flake
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user