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:
@@ -535,4 +535,9 @@ pod:
|
||||
- key: openstack-compute-node
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
resources:
|
||||
enabled: true
|
||||
central:
|
||||
requests:
|
||||
ephemeral-storage: "20000Ki"
|
||||
...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,6 +32,11 @@ pod:
|
||||
- key: openstack-compute-node
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
resources:
|
||||
enabled: true
|
||||
server:
|
||||
requests:
|
||||
ephemeral-storage: "25000Ki"
|
||||
mounts:
|
||||
horizon:
|
||||
horizon:
|
||||
|
||||
@@ -27,6 +27,11 @@ pod:
|
||||
anti:
|
||||
type:
|
||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||
resources:
|
||||
enabled: true
|
||||
ingress:
|
||||
requests:
|
||||
ephemeral-storage: "2000Ki"
|
||||
tolerations:
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -44,6 +44,11 @@ pod:
|
||||
- key: openstack-compute-node
|
||||
operator: Exists
|
||||
effect: NoSchedule
|
||||
resources:
|
||||
enabled: true
|
||||
api:
|
||||
requests:
|
||||
ephemeral-storage: "250Ki"
|
||||
conf:
|
||||
placement:
|
||||
DEFAULT:
|
||||
|
||||
Reference in New Issue
Block a user