From d61a01321f11de8f60c30e91b08b8a0873308bc0 Mon Sep 17 00:00:00 2001 From: rakesh561 Date: Thu, 29 Jun 2023 23:24:52 -0400 Subject: [PATCH] Allow ability to define requests and limits for ephemeral storage. (#1466) --- README.md | 6 ++++++ config/crd/bases/awx.ansible.com_awxs.yaml | 24 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/README.md b/README.md index da19acf7..c8989b49 100644 --- a/README.md +++ b/README.md @@ -716,23 +716,29 @@ spec: requests: cpu: 250m memory: 2Gi + ephemeral-storage: 100M limits: cpu: 1000m memory: 4Gi + ephemeral-storage: 500M task_resource_requirements: requests: cpu: 250m memory: 1Gi + ephemeral-storage: 100M limits: cpu: 2000m memory: 2Gi + ephemeral-storage: 500M ee_resource_requirements: requests: cpu: 250m memory: 100Mi + ephemeral-storage: 100M limits: cpu: 500m memory: 2Gi + ephemeral-storage: 500M ``` #### Priority Classes diff --git a/config/crd/bases/awx.ansible.com_awxs.yaml b/config/crd/bases/awx.ansible.com_awxs.yaml index f97cbd49..d8f1f4de 100644 --- a/config/crd/bases/awx.ansible.com_awxs.yaml +++ b/config/crd/bases/awx.ansible.com_awxs.yaml @@ -1368,6 +1368,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1377,6 +1379,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object web_resource_requirements: @@ -1390,6 +1394,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1399,6 +1405,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object ee_resource_requirements: @@ -1412,6 +1420,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1421,6 +1431,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object postgres_init_container_resource_requirements: @@ -1456,6 +1468,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1465,6 +1479,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object rsyslog_resource_requirements: @@ -1478,6 +1494,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1487,6 +1505,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object init_container_resource_requirements: @@ -1500,6 +1520,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object limits: properties: @@ -1509,6 +1531,8 @@ spec: type: string storage: type: string + ephemeral_storage: + type: string type: object type: object service_account_annotations: