From ff31339a6bbc97269a5a92d8be852aa2e4264800 Mon Sep 17 00:00:00 2001 From: Sulochan Acharya Date: Mon, 13 May 2024 13:30:34 +0100 Subject: [PATCH] Enable resource limits on pods We have been running without setting resource limits, which can cause all sorts of problem. This patch simply enabled the default resource limits set by the charts. There might be need for further tuning of limits. --- helm-configs/cinder/cinder-helm-overrides.yaml | 2 +- helm-configs/glance/glance-helm-overrides.yaml | 2 +- helm-configs/gnocchi/gnocchi-helm-overrides.yaml | 2 +- helm-configs/heat/heat-helm-overrides.yaml | 2 +- helm-configs/horizon/horizon-helm-overrides.yaml | 2 +- helm-configs/keystone/keystone-helm-overrides.yaml | 2 +- helm-configs/neutron/neutron-helm-overrides.yaml | 2 +- helm-configs/nova/nova-helm-overrides.yaml | 2 +- helm-configs/octavia/octavia-helm-overrides.yaml | 2 +- helm-configs/placement/placement-helm-overrides.yaml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/helm-configs/cinder/cinder-helm-overrides.yaml b/helm-configs/cinder/cinder-helm-overrides.yaml index 9d15d034..4751753e 100644 --- a/helm-configs/cinder/cinder-helm-overrides.yaml +++ b/helm-configs/cinder/cinder-helm-overrides.yaml @@ -228,7 +228,7 @@ jobs: api: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "64Mi" diff --git a/helm-configs/glance/glance-helm-overrides.yaml b/helm-configs/glance/glance-helm-overrides.yaml index b3b19a86..975bfdaa 100644 --- a/helm-configs/glance/glance-helm-overrides.yaml +++ b/helm-configs/glance/glance-helm-overrides.yaml @@ -865,7 +865,7 @@ pod: periodSeconds: 15 timeoutSeconds: 10 resources: - enabled: false + enabled: true api: requests: memory: "64Mi" diff --git a/helm-configs/gnocchi/gnocchi-helm-overrides.yaml b/helm-configs/gnocchi/gnocchi-helm-overrides.yaml index db1c37bb..d873f8d9 100644 --- a/helm-configs/gnocchi/gnocchi-helm-overrides.yaml +++ b/helm-configs/gnocchi/gnocchi-helm-overrides.yaml @@ -260,7 +260,7 @@ pod: api: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "124Mi" diff --git a/helm-configs/heat/heat-helm-overrides.yaml b/helm-configs/heat/heat-helm-overrides.yaml index b27640c1..6e10fd24 100644 --- a/helm-configs/heat/heat-helm-overrides.yaml +++ b/helm-configs/heat/heat-helm-overrides.yaml @@ -1084,7 +1084,7 @@ pod: engine: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "64Mi" diff --git a/helm-configs/horizon/horizon-helm-overrides.yaml b/helm-configs/horizon/horizon-helm-overrides.yaml index 298f8238..5d57da6d 100644 --- a/helm-configs/horizon/horizon-helm-overrides.yaml +++ b/helm-configs/horizon/horizon-helm-overrides.yaml @@ -7078,7 +7078,7 @@ pod: horizon: timeout: 30 resources: - enabled: false + enabled: true server: requests: memory: "64Mi" diff --git a/helm-configs/keystone/keystone-helm-overrides.yaml b/helm-configs/keystone/keystone-helm-overrides.yaml index 09667ed0..fd986082 100644 --- a/helm-configs/keystone/keystone-helm-overrides.yaml +++ b/helm-configs/keystone/keystone-helm-overrides.yaml @@ -283,7 +283,7 @@ pod: api: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "64Mi" diff --git a/helm-configs/neutron/neutron-helm-overrides.yaml b/helm-configs/neutron/neutron-helm-overrides.yaml index ac8f036f..d32d0ca5 100644 --- a/helm-configs/neutron/neutron-helm-overrides.yaml +++ b/helm-configs/neutron/neutron-helm-overrides.yaml @@ -741,7 +741,7 @@ pod: ironic_agent: timeout: 30 resources: - enabled: false + enabled: true agent: dhcp: requests: diff --git a/helm-configs/nova/nova-helm-overrides.yaml b/helm-configs/nova/nova-helm-overrides.yaml index 1b157e28..0f0ae27a 100644 --- a/helm-configs/nova/nova-helm-overrides.yaml +++ b/helm-configs/nova/nova-helm-overrides.yaml @@ -2342,7 +2342,7 @@ pod: osapi: timeout: 30 resources: - enabled: false + enabled: true compute: requests: memory: "128Mi" diff --git a/helm-configs/octavia/octavia-helm-overrides.yaml b/helm-configs/octavia/octavia-helm-overrides.yaml index 1a30a9e2..2ecb6124 100644 --- a/helm-configs/octavia/octavia-helm-overrides.yaml +++ b/helm-configs/octavia/octavia-helm-overrides.yaml @@ -623,7 +623,7 @@ pod: api: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "64Mi" diff --git a/helm-configs/placement/placement-helm-overrides.yaml b/helm-configs/placement/placement-helm-overrides.yaml index 9d85dd6e..5b977233 100644 --- a/helm-configs/placement/placement-helm-overrides.yaml +++ b/helm-configs/placement/placement-helm-overrides.yaml @@ -332,7 +332,7 @@ pod: api: timeout: 30 resources: - enabled: false + enabled: true api: requests: memory: "64Mi"