From 19f591f93d4c6b318e4a94fccc7303bc8f2efaeb Mon Sep 17 00:00:00 2001 From: Pierre G Date: Wed, 25 Oct 2023 16:13:28 +0200 Subject: [PATCH] feat: add nginx in cluster advanced settings (#483) --- src/schemas/ClusterAdvancedSettings.yaml | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/schemas/ClusterAdvancedSettings.yaml b/src/schemas/ClusterAdvancedSettings.yaml index 5db79b3d..f3a345f9 100644 --- a/src/schemas/ClusterAdvancedSettings.yaml +++ b/src/schemas/ClusterAdvancedSettings.yaml @@ -87,3 +87,35 @@ properties: deprecated: true registry.mirroring_mode: $ref: './enums/RegistryMirroringMode.yaml' + nginx.vcpu.request_in_milli: + type: integer + default: 100 + description: vcpu request in millicores + nginx.vcpu.limit_in_milli: + type: integer + default: 500 + description: vcpu limit in millicores + nginx.memory.request_in_mib: + type: integer + default: 768 + description: memory request in MiB + nginx.memory.limit_in_mib: + type: integer + default: 768 + description: memory limit in MiB + nginx.hpa.cpu_utilization_percentage_threshold: + type: integer + default: 50 + description: hpa cpu threshold in percentage + nginx.hpa.memory_utilization_percentage_threshold: + type: integer + default: 50 + description: hpa memory threshold in percentage + nginx.hpa.min_number_instances: + type: integer + default: 2 + description: hpa minimum number of instances + nginx.hpa.max_number_instances: + type: integer + default: 25 + description: hpa maximum number of instances