mirror of https://github.com/k3s-io/k3s
Add liveness probe to the flower rc in order to fix a flake
parent
eaf3d3f708
commit
5db3f6d25e
|
@ -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