From 9b525b265667b662f3ba19f5b2d426350025e68b Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Thu, 22 Jun 2023 09:39:47 +0200 Subject: [PATCH] nginx-ingress-controller: Improve requests and autoscaling. (#715) --- CHANGELOG.md | 4 ++++ .../files/apps/common/ingress-controller-app.yaml | 12 +++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d289e01..d76d56d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- nginx-ingress-controller: Improve requests and autoscaling. ([#715](https://github.com/giantswarm/giantnetes-terraform/pull/715)) + ## [14.16.0] - 2023-06-21 ### Changed diff --git a/templates/files/apps/common/ingress-controller-app.yaml b/templates/files/apps/common/ingress-controller-app.yaml index 11c948c5..445d1ac8 100644 --- a/templates/files/apps/common/ingress-controller-app.yaml +++ b/templates/files/apps/common/ingress-controller-app.yaml @@ -8,13 +8,15 @@ data: controller: allowSnippetAnnotations: true enableSSLChainCompletion: true + resources: + requests: + cpu: 1 + memory: 350Mi + autoscaling: + targetCPUUtilizationPercentage: 80 + targetMemoryUtilizationPercentage: 80 service: type: NodePort - configmap: - use-forwarded-headers: "false" - {{- if eq .Provider "aws" }} - use-proxy-protocol: "true" - {{- end }} image: registry: {{ .DockerRegistry }} ---