From 22c6fe1979958ec11b038dc05cf72fdec2f6f818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 24 Aug 2024 23:25:40 +0300 Subject: [PATCH] bind: Add resource limits --- bind/bind-secondary.yaml | 7 +++++++ bind/external-dns-k-space.yaml | 7 +++++++ bind/external-dns-k6.yaml | 7 +++++++ bind/external-dns-kspace.yaml | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/bind/bind-secondary.yaml b/bind/bind-secondary.yaml index 2a49e74..5f1d8e2 100644 --- a/bind/bind-secondary.yaml +++ b/bind/bind-secondary.yaml @@ -76,6 +76,13 @@ 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 90ab301..bac51a5 100644 --- a/bind/external-dns-k-space.yaml +++ b/bind/external-dns-k-space.yaml @@ -15,6 +15,13 @@ 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 diff --git a/bind/external-dns-k6.yaml b/bind/external-dns-k6.yaml index f769df6..35c3503 100644 --- a/bind/external-dns-k6.yaml +++ b/bind/external-dns-k6.yaml @@ -15,6 +15,13 @@ 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 diff --git a/bind/external-dns-kspace.yaml b/bind/external-dns-kspace.yaml index 7111f03..c95cd63 100644 --- a/bind/external-dns-kspace.yaml +++ b/bind/external-dns-kspace.yaml @@ -15,6 +15,13 @@ 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