Commit 93f802b1 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #29905 from luxas/flake_celery2

Automatic merge from submit-queue Second attempt to fix #29585 @ixdy @fejta <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29905) <!-- Reviewable:end -->
parents bd421c96 56755b83
...@@ -123,6 +123,13 @@ spec: ...@@ -123,6 +123,13 @@ spec:
resources: resources:
limits: limits:
cpu: 100m 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) [Download example](rabbitmq-controller.yaml?raw=true)
...@@ -269,6 +276,8 @@ spec: ...@@ -269,6 +276,8 @@ spec:
containers: containers:
- image: endocode/flower - image: endocode/flower
name: flower name: flower
ports:
- containerPort: 5555
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
...@@ -276,7 +285,7 @@ spec: ...@@ -276,7 +285,7 @@ spec:
httpGet: httpGet:
# Path to probe; should be cheap, but representative of typical behavior # Path to probe; should be cheap, but representative of typical behavior
path: / path: /
port: 80 port: 5555
initialDelaySeconds: 30 initialDelaySeconds: 30
timeoutSeconds: 1 timeoutSeconds: 1
``` ```
......
...@@ -15,6 +15,8 @@ spec: ...@@ -15,6 +15,8 @@ spec:
containers: containers:
- image: endocode/flower - image: endocode/flower
name: flower name: flower
ports:
- containerPort: 5555
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
...@@ -22,6 +24,6 @@ spec: ...@@ -22,6 +24,6 @@ spec:
httpGet: httpGet:
# Path to probe; should be cheap, but representative of typical behavior # Path to probe; should be cheap, but representative of typical behavior
path: / path: /
port: 80 port: 5555
initialDelaySeconds: 30 initialDelaySeconds: 30
timeoutSeconds: 1 timeoutSeconds: 1
...@@ -20,3 +20,10 @@ spec: ...@@ -20,3 +20,10 @@ spec:
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
livenessProbe:
httpGet:
# Path to probe; should be cheap, but representative of typical behavior
path: /
port: 5672
initialDelaySeconds: 30
timeoutSeconds: 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment