bind: Add resource limits

This commit is contained in:
Lauri Võsandi 2024-08-24 23:25:40 +03:00
parent f53b31e030
commit 22c6fe1979
4 changed files with 28 additions and 0 deletions

View File

@ -76,6 +76,13 @@ spec:
name: bind-readonly-secret name: bind-readonly-secret
- name: bind-data - name: bind-data
emptyDir: {} emptyDir: {}
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 1m
memory: 35Mi
topologySpreadConstraints: topologySpreadConstraints:
- maxSkew: 1 - maxSkew: 1
topologyKey: topology.kubernetes.io/zone topologyKey: topology.kubernetes.io/zone

View File

@ -15,6 +15,13 @@ spec:
labels: *selectorLabels labels: *selectorLabels
spec: spec:
serviceAccountName: external-dns serviceAccountName: external-dns
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
containers: containers:
- name: external-dns - name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14.2 image: registry.k8s.io/external-dns/external-dns:v0.14.2

View File

@ -15,6 +15,13 @@ spec:
labels: *selectorLabels labels: *selectorLabels
spec: spec:
serviceAccountName: external-dns serviceAccountName: external-dns
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
containers: containers:
- name: external-dns - name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14.2 image: registry.k8s.io/external-dns/external-dns:v0.14.2

View File

@ -15,6 +15,13 @@ spec:
labels: *selectorLabels labels: *selectorLabels
spec: spec:
serviceAccountName: external-dns serviceAccountName: external-dns
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
containers: containers:
- name: external-dns - name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14.2 image: registry.k8s.io/external-dns/external-dns:v0.14.2