CoreDNS: add configurable replicas
This patchset makes possible to set/update the quantity of replicas for CoreDNS through the variable in values.yaml. Change-Id: I9a6ad0f7f2fe95b7d8cfd2ac5f4c6e235e8bb1a4
This commit is contained in:
parent
92abbbeef4
commit
8bdc4cfe8e
@ -24,7 +24,7 @@ metadata:
|
|||||||
{{ .Values.service.name }}: enabled
|
{{ .Values.service.name }}: enabled
|
||||||
kubernetes.io/name: "CoreDNS"
|
kubernetes.io/name: "CoreDNS"
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: {{ .Values.pod.replicas.coredns }}
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
|
@ -53,6 +53,8 @@ pod:
|
|||||||
limits:
|
limits:
|
||||||
memory: "1024Mi"
|
memory: "1024Mi"
|
||||||
cpu: "2000m"
|
cpu: "2000m"
|
||||||
|
replicas:
|
||||||
|
coredns: 3
|
||||||
|
|
||||||
monitoring:
|
monitoring:
|
||||||
prometheus:
|
prometheus:
|
||||||
|
Loading…
Reference in New Issue
Block a user