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:
Dmitrii Kabanov 2018-10-04 10:15:10 -07:00
parent 92abbbeef4
commit 8bdc4cfe8e
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -53,6 +53,8 @@ pod:
limits: limits:
memory: "1024Mi" memory: "1024Mi"
cpu: "2000m" cpu: "2000m"
replicas:
coredns: 3
monitoring: monitoring:
prometheus: prometheus: