Skip to content

Commit

Permalink
test hpa
Browse files Browse the repository at this point in the history
  • Loading branch information
reshnm committed Sep 26, 2023
1 parent 263fd56 commit 79100b7
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ deployItems:
main:
containerName: landscaper-main

replicaCount: {{ .imports.landscaperConfig.landscaper.replicas | default 1 }}
replicaCount: 2

{{- if .imports.landscaperConfig.landscaper.resources }}
resources:
Expand All @@ -131,8 +131,8 @@ deployItems:
{{- end }}

hpa:
minReplicas: 1
maxReplicas: 1
minReplicas: 2
maxReplicas: 5
averageCpuUtilization: 80
averageMemoryUtilization: 80

Expand All @@ -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 }}
Expand All @@ -154,8 +154,6 @@ deployItems:
tag: {{ $webhooksImgtag }}
pullPolicy: IfNotPresent

replicaCount: 2

resources:
requests:
cpu: 100m
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 79100b7

Please sign in to comment.