mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Second attempt to fix #29585
This commit is contained in:
parent
ca7ad6896b
commit
56755b83cc
@ -123,6 +123,13 @@ spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
# Path to probe; should be cheap, but representative of typical behavior
|
||||
path: /
|
||||
port: 5672
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
```
|
||||
|
||||
[Download example](rabbitmq-controller.yaml?raw=true)
|
||||
@ -269,6 +276,8 @@ spec:
|
||||
containers:
|
||||
- image: endocode/flower
|
||||
name: flower
|
||||
ports:
|
||||
- containerPort: 5555
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
@ -276,7 +285,7 @@ spec:
|
||||
httpGet:
|
||||
# Path to probe; should be cheap, but representative of typical behavior
|
||||
path: /
|
||||
port: 80
|
||||
port: 5555
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
```
|
||||
|
@ -15,6 +15,8 @@ spec:
|
||||
containers:
|
||||
- image: endocode/flower
|
||||
name: flower
|
||||
ports:
|
||||
- containerPort: 5555
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
@ -22,6 +24,6 @@ spec:
|
||||
httpGet:
|
||||
# Path to probe; should be cheap, but representative of typical behavior
|
||||
path: /
|
||||
port: 80
|
||||
port: 5555
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
|
@ -20,3 +20,10 @@ spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
# Path to probe; should be cheap, but representative of typical behavior
|
||||
path: /
|
||||
port: 5672
|
||||
initialDelaySeconds: 30
|
||||
timeoutSeconds: 1
|
||||
|
Loading…
Reference in New Issue
Block a user