From 79100b7d57f8e0fd22df119db0c9defea4078d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCnemann?= Date: Tue, 26 Sep 2023 13:25:55 +0200 Subject: [PATCH] test hpa --- .../landscaper/deploy-execution.yaml | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml index b95493394..b5bd0584c 100644 --- a/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml +++ b/.landscaper/landscaper-instance/blueprint/landscaper/deploy-execution.yaml @@ -118,7 +118,7 @@ deployItems: main: containerName: landscaper-main - replicaCount: {{ .imports.landscaperConfig.landscaper.replicas | default 1 }} + replicaCount: 2 {{- if .imports.landscaperConfig.landscaper.resources }} resources: @@ -131,8 +131,8 @@ deployItems: {{- end }} hpa: - minReplicas: 1 - maxReplicas: 1 + minReplicas: 2 + maxReplicas: 5 averageCpuUtilization: 80 averageMemoryUtilization: 80 @@ -144,7 +144,7 @@ deployItems: kubeconfig: | {{ .imports.landscaperWebhooksKubeconfigYaml | indent 14}} - replicaCount: {{ .imports.landscaperConfig.webhooksServer.replicas | default 1 }} + replicaCount: 2 {{ $webhooksImgresource := getResource $landscaperComponent "name" "landscaper-webhooks-server" }} {{ $webhooksImgrepo := ociRefRepo $webhooksImgresource.access.imageReference }} @@ -154,8 +154,6 @@ deployItems: tag: {{ $webhooksImgtag }} pullPolicy: IfNotPresent - replicaCount: 2 - resources: requests: cpu: 100m @@ -209,11 +207,11 @@ deployItems: serviceAccountName: helm-deployer verbosity: {{ .imports.landscaperConfig.landscaper.verbosity | default "info" }} - replicaCount: 1 + replicaCount: 2 hpa: - minReplicas: 1 - maxReplicas: 1 + minReplicas: 2 + maxReplicas: 10 averageCpuUtilization: 80 averageMemoryUtilization: 80 @@ -275,11 +273,11 @@ deployItems: serviceAccountName: manifest-deployer verbosity: {{ .imports.landscaperConfig.landscaper.verbosity | default "info" }} - replicaCount: 1 + replicaCount: 2 hpa: - minReplicas: 1 - maxReplicas: 1 + minReplicas: 2 + maxReplicas: 10 averageCpuUtilization: 80 averageMemoryUtilization: 80