From 96f22334215d048fe79fdbadd8afd996adff11ea Mon Sep 17 00:00:00 2001 From: Nico Hanus Date: Fri, 18 Mar 2022 14:01:32 +0100 Subject: [PATCH] add resource limits to helm files --- helmvalues/client.Feature.yaml | 8 ++++++++ helmvalues/client.Integration.yaml | 8 ++++++++ helmvalues/client.Production.yaml | 10 +++++++++- helmvalues/client.Staging.yaml | 10 +++++++++- helmvalues/client.Test.yaml | 8 ++++++++ 5 files changed, 42 insertions(+), 2 deletions(-) diff --git a/helmvalues/client.Feature.yaml b/helmvalues/client.Feature.yaml index 6f535e1f6..6e11f36aa 100644 --- a/helmvalues/client.Feature.yaml +++ b/helmvalues/client.Feature.yaml @@ -9,6 +9,14 @@ ingress: hosts: - isa-%LOWERENVIRONMENT%.kubernetes.paragon-systems.de +resources: + limits: + cpu: 300m + memory: 100Mi + requests: + cpu: 100m + memory: 100Mi + aspnet_environment: %ENVIRONMENT% configMap: diff --git a/helmvalues/client.Integration.yaml b/helmvalues/client.Integration.yaml index 70d1f1ea2..dedcc5965 100644 --- a/helmvalues/client.Integration.yaml +++ b/helmvalues/client.Integration.yaml @@ -9,6 +9,14 @@ ingress: hosts: - isa-%LOWERENVIRONMENT%.kubernetes.paragon-systems.de +resources: + limits: + cpu: 300m + memory: 100Mi + requests: + cpu: 100m + memory: 100Mi + aspnet_environment: %ENVIRONMENT% configMap: diff --git a/helmvalues/client.Production.yaml b/helmvalues/client.Production.yaml index 7b780c80d..1c89b7d23 100644 --- a/helmvalues/client.Production.yaml +++ b/helmvalues/client.Production.yaml @@ -2,7 +2,7 @@ fullnameOverride: isa-ui image: harborRepo: isa/ui tag: prod-%BUILD_BUILDNUMBER%-%BUILD_SOURCEVERSION% - + replicaCount: 2 ingress: @@ -12,6 +12,14 @@ ingress: - isa.kubernetes.paragon-systems.de - isa-%LOWERENVIRONMENT%.kubernetes.paragon-systems.de +resources: + limits: + cpu: 500m + memory: 150Mi + requests: + cpu: 100m + memory: 100Mi + deployment_annotations: co.elastic.logs/module: nginx co.elastic.logs/fileset.stdout: access diff --git a/helmvalues/client.Staging.yaml b/helmvalues/client.Staging.yaml index 31d50e3e1..56983bdd9 100644 --- a/helmvalues/client.Staging.yaml +++ b/helmvalues/client.Staging.yaml @@ -2,7 +2,7 @@ fullnameOverride: isa-ui image: harborRepo: isa/ui tag: prod-%BUILD_BUILDNUMBER%-%BUILD_SOURCEVERSION% - + replicaCount: 2 ingress: @@ -11,6 +11,14 @@ ingress: hosts: - isa-%LOWERENVIRONMENT%.kubernetes.paragon-systems.de +resources: + limits: + cpu: 300m + memory: 100Mi + requests: + cpu: 100m + memory: 100Mi + deployment_annotations: co.elastic.logs/module: nginx co.elastic.logs/fileset.stdout: access diff --git a/helmvalues/client.Test.yaml b/helmvalues/client.Test.yaml index cf62f24be..72db5c7d8 100644 --- a/helmvalues/client.Test.yaml +++ b/helmvalues/client.Test.yaml @@ -9,6 +9,14 @@ ingress: hosts: - isa-%LOWERENVIRONMENT%.kubernetes.paragon-systems.de +resources: + limits: + cpu: 300m + memory: 100Mi + requests: + cpu: 100m + memory: 100Mi + deployment_annotations: co.elastic.logs/module: nginx co.elastic.logs/fileset.stdout: access