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: containers:
- name: bind-secondary - name: bind-secondary
image: internetsystemsconsortium/bind9:9.20 image: internetsystemsconsortium/bind9:9.20
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 1m
memory: 35Mi
workingDir: /var/bind workingDir: /var/bind
command: command:
- named - named
@ -76,13 +83,6 @@ 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,9 @@ spec:
labels: *selectorLabels labels: *selectorLabels
spec: spec:
serviceAccountName: external-dns serviceAccountName: external-dns
containers:
- name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14.2
resources: resources:
limits: limits:
cpu: 100m cpu: 100m
@ -22,9 +25,6 @@ spec:
requests: requests:
cpu: 2m cpu: 2m
memory: 35Mi memory: 35Mi
containers:
- name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14.2
envFrom: envFrom:
- secretRef: - secretRef:
name: tsig-secret name: tsig-secret

View File

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

View File

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