Adding ephemeral-storage request on pods (FluxCD)

Some pods are being evicted due to some containers exceeding the
usage of ephemeral-storage. This modifications has been applied by
[1] in the armada application. This review aims to bring this
update to the FluxCD structure.

Test Plan:
PASS - Build stx-openstack tarball.
PASS - Upload/apply stx-openstack and check that new values of
       ephemeral-storage took place.
PASS - Remove/delete stx-openstack.

[1] - https://review.opendev.org/c/starlingx/openstack-armada-app/+/853693

Partial-bug: 1970645

Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com>
Change-Id: I56c106508091bdaaf63f441972c67970cb8835cc
This commit is contained in:
Rafael Falcão 2022-09-27 14:48:20 -03:00
parent 5be062edb0
commit 9fed9555ed
8 changed files with 40 additions and 0 deletions

View File

@ -535,4 +535,9 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
central:
requests:
ephemeral-storage: "20000Ki"
...

View File

@ -24,6 +24,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
fm:
requests:
ephemeral-storage: "20000Ki"
labels:
api:
node_selector_key: openstack-control-plane

View File

@ -32,6 +32,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
server:
requests:
ephemeral-storage: "25000Ki"
mounts:
horizon:
horizon:

View File

@ -27,6 +27,11 @@ pod:
anti:
type:
default: requiredDuringSchedulingIgnoredDuringExecution
resources:
enabled: true
ingress:
requests:
ephemeral-storage: "2000Ki"
tolerations:
ingress:
enabled: true

View File

@ -53,6 +53,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
ingress:
requests:
ephemeral-storage: "500Ki"
conf:
ingress_conf:
worker-processes: '4'

View File

@ -37,6 +37,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
api_proxy:
requests:
ephemeral-storage: "10000Ki"
conf:
nova_api_proxy:
DEFAULT:

View File

@ -119,6 +119,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
conductor:
requests:
ephemeral-storage: "100Ki"
security_context:
nova:
pod:

View File

@ -44,6 +44,11 @@ pod:
- key: openstack-compute-node
operator: Exists
effect: NoSchedule
resources:
enabled: true
api:
requests:
ephemeral-storage: "250Ki"
conf:
placement:
DEFAULT: