bind: Fix resource limits

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

View File

@ -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

View File

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

View File

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

View File

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