From d1e8d8e356b966346e109d658cbb88c13073cb95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 24 Aug 2024 23:28:28 +0300 Subject: [PATCH] bind: Fix resource limits --- bind/bind-secondary.yaml | 14 +++++++------- bind/external-dns-k-space.yaml | 14 +++++++------- bind/external-dns-k6.yaml | 14 +++++++------- bind/external-dns-kspace.yaml | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/bind/bind-secondary.yaml b/bind/bind-secondary.yaml index 5f1d8e2..b173668 100644 --- a/bind/bind-secondary.yaml +++ b/bind/bind-secondary.yaml @@ -51,6 +51,13 @@ spec: containers: - name: bind-secondary image: internetsystemsconsortium/bind9:9.20 + resources: + limits: + cpu: 100m + memory: 100Mi + requests: + cpu: 1m + memory: 35Mi workingDir: /var/bind command: - named @@ -76,13 +83,6 @@ spec: name: bind-readonly-secret - name: bind-data emptyDir: {} - resources: - limits: - cpu: 100m - memory: 100Mi - requests: - cpu: 1m - memory: 35Mi topologySpreadConstraints: - maxSkew: 1 topologyKey: topology.kubernetes.io/zone diff --git a/bind/external-dns-k-space.yaml b/bind/external-dns-k-space.yaml index bac51a5..bbf9d06 100644 --- a/bind/external-dns-k-space.yaml +++ b/bind/external-dns-k-space.yaml @@ -15,16 +15,16 @@ spec: labels: *selectorLabels spec: serviceAccountName: external-dns - resources: - limits: - cpu: 100m - memory: 100Mi - requests: - cpu: 2m - memory: 35Mi containers: - name: external-dns image: registry.k8s.io/external-dns/external-dns:v0.14.2 + resources: + limits: + cpu: 100m + memory: 100Mi + requests: + cpu: 2m + memory: 35Mi envFrom: - secretRef: name: tsig-secret diff --git a/bind/external-dns-k6.yaml b/bind/external-dns-k6.yaml index 35c3503..b304a04 100644 --- a/bind/external-dns-k6.yaml +++ b/bind/external-dns-k6.yaml @@ -15,16 +15,16 @@ spec: labels: *selectorLabels spec: serviceAccountName: external-dns - resources: - limits: - cpu: 100m - memory: 100Mi - requests: - cpu: 2m - memory: 35Mi containers: - name: external-dns image: registry.k8s.io/external-dns/external-dns:v0.14.2 + resources: + limits: + cpu: 100m + memory: 100Mi + requests: + cpu: 2m + memory: 35Mi envFrom: - secretRef: name: tsig-secret diff --git a/bind/external-dns-kspace.yaml b/bind/external-dns-kspace.yaml index c95cd63..6a8b358 100644 --- a/bind/external-dns-kspace.yaml +++ b/bind/external-dns-kspace.yaml @@ -15,16 +15,16 @@ spec: labels: *selectorLabels spec: serviceAccountName: external-dns - resources: - limits: - cpu: 100m - memory: 100Mi - requests: - cpu: 2m - memory: 35Mi containers: - name: external-dns image: registry.k8s.io/external-dns/external-dns:v0.14.2 + resources: + limits: + cpu: 100m + memory: 100Mi + requests: + cpu: 2m + memory: 35Mi envFrom: - secretRef: name: tsig-secret