Add exec probe timeouts
As of kubernetes 1.20 exec liveness and readiness probes default to 1 second. See the note here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ This PS adds exec probe timeouts where necessary. Change-Id: If1de652f0b2bef8dac2e9b306e645930320c67eb
This commit is contained in:
parent
2024cc361e
commit
c394080738
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Glance
|
||||
name: glance
|
||||
version: 0.4.9
|
||||
version: 0.4.10
|
||||
home: https://docs.openstack.org/glance/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
|
||||
sources:
|
||||
|
@ -167,6 +167,8 @@ spec:
|
||||
- python
|
||||
- -c
|
||||
- "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
@ -174,6 +176,8 @@ spec:
|
||||
- -c
|
||||
- "import requests; requests.get('http://127.0.0.1:{{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}')"
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
{{- else }}
|
||||
ports:
|
||||
- name: g-api
|
||||
|
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Neutron
|
||||
name: neutron
|
||||
version: 0.3.16
|
||||
version: 0.3.17
|
||||
home: https://docs.openstack.org/neutron/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
|
||||
sources:
|
||||
|
@ -423,6 +423,7 @@ pod:
|
||||
readiness:
|
||||
enabled: true
|
||||
params:
|
||||
timeoutSeconds: 10
|
||||
liveness:
|
||||
enabled: true
|
||||
params:
|
||||
@ -465,10 +466,14 @@ pod:
|
||||
readiness:
|
||||
enabled: true
|
||||
params:
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
liveness:
|
||||
enabled: true
|
||||
params:
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
security_context:
|
||||
neutron_dhcp_agent:
|
||||
pod:
|
||||
|
@ -43,4 +43,5 @@ glance:
|
||||
- 0.4.7 Add Zed overrides
|
||||
- 0.4.8 Add 2023.1 overrides
|
||||
- 0.4.9 Use service tokens
|
||||
- 0.4.10 Add exec probe timeouts
|
||||
...
|
||||
|
@ -58,4 +58,5 @@ neutron:
|
||||
- 0.3.14 Add 2023.1 overrides
|
||||
- 0.3.15 Add asap2 support
|
||||
- 0.3.16 Use service tokens
|
||||
- 0.3.17 Add exec probe timeouts
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user