1
0
forked from k-space/kube

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,16 +15,16 @@ 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
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
envFrom: envFrom:
- secretRef: - secretRef:
name: tsig-secret name: tsig-secret

View File

@ -15,16 +15,16 @@ 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
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
envFrom: envFrom:
- secretRef: - secretRef:
name: tsig-secret name: tsig-secret

View File

@ -15,16 +15,16 @@ 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
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 2m
memory: 35Mi
envFrom: envFrom:
- secretRef: - secretRef:
name: tsig-secret name: tsig-secret