forked from k-space/kube
bind: Add resource limits
This commit is contained in:
parent
f53b31e030
commit
22c6fe1979
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user