diff --git a/barbican/values.yaml b/barbican/values.yaml index faa909117a..4e40c763d8 100644 --- a/barbican/values.yaml +++ b/barbican/values.yaml @@ -392,6 +392,8 @@ conf: worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/barbican-wsgi-api processes: 1 + stats: 0.0.0.0:1717 + stats-http: true barbican: DEFAULT: transport_url: null diff --git a/cinder/values.yaml b/cinder/values.yaml index 80c5cbabdc..757915c119 100644 --- a/cinder/values.yaml +++ b/cinder/values.yaml @@ -1074,6 +1074,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/cinder-wsgi + stats: 0.0.0.0:1717 + stats-http: true db_purge: before: 30 diff --git a/cloudkitty/values.yaml b/cloudkitty/values.yaml index 6c3d3f80d1..e169254ac6 100644 --- a/cloudkitty/values.yaml +++ b/cloudkitty/values.yaml @@ -555,6 +555,8 @@ conf: worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/cloudkitty-api processes: 1 + stats: 0.0.0.0:1717 + stats-http: true cloudkitty: DEFAULT: log_config_append: /etc/cloudkitty/logging.conf diff --git a/designate/values.yaml b/designate/values.yaml index fe7634732c..8234821ad3 100644 --- a/designate/values.yaml +++ b/designate/values.yaml @@ -560,6 +560,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/designate-api-wsgi + stats: 0.0.0.0:1717 + stats-http: true # Names of secrets used by bootstrap and environmental checks secrets: diff --git a/glance/values.yaml b/glance/values.yaml index a0318e9041..9f38f4a0fb 100644 --- a/glance/values.yaml +++ b/glance/values.yaml @@ -430,6 +430,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/glance-wsgi-api + stats: 0.0.0.0:1717 + stats-http: true network: api: diff --git a/heat/templates/deployment-api.yaml b/heat/templates/deployment-api.yaml index 683ca34af4..296bf667ef 100644 --- a/heat/templates/deployment-api.yaml +++ b/heat/templates/deployment-api.yaml @@ -92,7 +92,11 @@ spec: httpGet: scheme: {{ tuple "orchestration" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / + {{- if .Values.pod.probes.api.heat_api.liveness.port }} + port: {{ .Values.pod.probes.api.heat_api.liveness.port }} + {{- else }} port: {{ tuple "orchestration" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + {{- end }} initialDelaySeconds: 10 volumeMounts: - name: pod-tmp diff --git a/heat/templates/deployment-cfn.yaml b/heat/templates/deployment-cfn.yaml index 19a100dab8..92941a6179 100644 --- a/heat/templates/deployment-cfn.yaml +++ b/heat/templates/deployment-cfn.yaml @@ -91,7 +91,11 @@ spec: httpGet: scheme: {{ tuple "cloudformation" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / + {{- if .Values.pod.probes.cfn.heat_cfn.liveness.port }} + port: {{ .Values.pod.probes.cfn.heat_cfn.liveness.port }} + {{- else }} port: {{ tuple "cloudformation" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + {{- end }} initialDelaySeconds: 10 volumeMounts: - name: pod-tmp diff --git a/heat/values.yaml b/heat/values.yaml index ad8eec86aa..a1d5be3871 100644 --- a/heat/values.yaml +++ b/heat/values.yaml @@ -487,6 +487,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/heat-wsgi-api + stats: 0.0.0.0:1717 + stats-http: true heat_api_cfn_uwsgi: uwsgi: add-header: "Connection: close" @@ -503,6 +505,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/heat-wsgi-api-cfn + stats: 0.0.0.0:1717 + stats-http: true network: api: @@ -1171,6 +1175,15 @@ pod: limits: memory: "1024Mi" cpu: "2000m" + probes: + api: + heat_api: + liveness: + port: 1717 + cfn: + heat_cfn: + liveness: + port: 1717 network_policy: heat: diff --git a/magnum/values.yaml b/magnum/values.yaml index dd3dc6cc5b..f94f0688fb 100644 --- a/magnum/values.yaml +++ b/magnum/values.yaml @@ -184,6 +184,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/magnum-api-wsgi + stats: 0.0.0.0:1717 + stats-http: true network: api: diff --git a/manila/values.yaml b/manila/values.yaml index 246f16d64b..1c96cac374 100644 --- a/manila/values.yaml +++ b/manila/values.yaml @@ -866,6 +866,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 module: "manila.wsgi.api:application" + stats: 0.0.0.0:1717 + stats-http: true # Names of secrets used by bootstrap and environmental checks secrets: diff --git a/neutron/templates/deployment-server.yaml b/neutron/templates/deployment-server.yaml index ab8e4e679e..cfc187f08b 100644 --- a/neutron/templates/deployment-server.yaml +++ b/neutron/templates/deployment-server.yaml @@ -39,7 +39,11 @@ initialDelaySeconds: 30 httpGet: scheme: {{ tuple "network" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / + {{- if .Values.pod.probes.server.server.liveness.port }} + port: {{ .Values.pod.probes.server.server.liveness.port }} + {{ else }} port: {{ tuple "network" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + {{- end}} {{- end }} {{- end }} diff --git a/neutron/values.yaml b/neutron/values.yaml index f83daad883..b8b21af918 100644 --- a/neutron/values.yaml +++ b/neutron/values.yaml @@ -529,6 +529,7 @@ pod: timeoutSeconds: 10 liveness: enabled: true + port: 1717 params: initialDelaySeconds: 60 periodSeconds: 15 @@ -1387,6 +1388,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/neutron-api + stats: 0.0.0.0:1717 + stats-http: true policy: {} api_audit_map: DEFAULT: diff --git a/nova/values.yaml b/nova/values.yaml index c403693594..72470d8c9a 100644 --- a/nova/values.yaml +++ b/nova/values.yaml @@ -1620,6 +1620,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/nova-api-wsgi + stats: 0.0.0.0:1717 + stats-http: true nova_metadata_uwsgi: uwsgi: add-header: "Connection: close" @@ -1636,6 +1638,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/nova-metadata-wsgi + stats: 0.0.0.0:1717 + stats-http: true # Names of secrets used by bootstrap and environmental checks secrets: diff --git a/octavia/values.yaml b/octavia/values.yaml index 4043e97628..4174a1a4f0 100644 --- a/octavia/values.yaml +++ b/octavia/values.yaml @@ -401,6 +401,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 module: "octavia.wsgi.api:application" + stats: 0.0.0.0:1717 + stats-http: true secrets: identity: diff --git a/ovn/values.yaml b/ovn/values.yaml index 3b00267ca3..8241f6c436 100644 --- a/ovn/values.yaml +++ b/ovn/values.yaml @@ -104,6 +104,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/neutron-ovn-network-logging-parser-wsgi + stats: 0.0.0.0:1717 + stats-http: true vector: | [sources.file_logs] type = "file" diff --git a/placement/templates/deployment.yaml b/placement/templates/deployment.yaml index decf7ddb81..9cf1b07ef3 100644 --- a/placement/templates/deployment.yaml +++ b/placement/templates/deployment.yaml @@ -108,7 +108,11 @@ spec: httpGet: scheme: {{ tuple "placement" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }} path: / + {{- if .Values.pod.probes.placement.api.liveness.port }} + port: {{ .Values.pod.probes.placement.api.liveness.port }} + {{- else }} port: {{ tuple "placement" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} + {{- end }} initialDelaySeconds: 5 periodSeconds: 10 volumeMounts: diff --git a/placement/values.yaml b/placement/values.yaml index d9dc296bc0..06391fc5db 100644 --- a/placement/values.yaml +++ b/placement/values.yaml @@ -153,6 +153,8 @@ conf: thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/placement-api + stats: 0.0.0.0:1717 + stats-http: true endpoints: cluster_domain_suffix: cluster.local local_image_registry: @@ -374,6 +376,11 @@ pod: limits: memory: "1024Mi" cpu: "2000m" + probes: + placement: + api: + liveness: + port: 1717 secrets: identity: