summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrii Kabanov <dk370c@att.com>2018-10-04 10:15:10 -0700
committerDmitrii Kabanov <dk370c@att.com>2018-10-04 10:44:28 -0700
commit8bdc4cfe8e526d6dff14621e16437ca6f5260024 (patch)
tree9987d54af292dd046bae20151dd7f73c1a96a7f5
parent92abbbeef4706acd630d698fe62119ffd34f0290 (diff)
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
Notes
Notes (review): Code-Review+2: Scott Hussey <sthussey@att.com> Code-Review+2: Mark Burnett <mark.m.burnett@gmail.com> Workflow+1: Mark Burnett <mark.m.burnett@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 05 Oct 2018 14:27:27 +0000 Reviewed-on: https://review.openstack.org/608041 Project: openstack/airship-promenade Branch: refs/heads/master
-rw-r--r--charts/coredns/templates/deployment.yaml2
-rw-r--r--charts/coredns/values.yaml2
2 files changed, 3 insertions, 1 deletions
diff --git a/charts/coredns/templates/deployment.yaml b/charts/coredns/templates/deployment.yaml
index 2e47fe3..e83f761 100644
--- a/charts/coredns/templates/deployment.yaml
+++ b/charts/coredns/templates/deployment.yaml
@@ -24,7 +24,7 @@ metadata:
24 {{ .Values.service.name }}: enabled 24 {{ .Values.service.name }}: enabled
25 kubernetes.io/name: "CoreDNS" 25 kubernetes.io/name: "CoreDNS"
26spec: 26spec:
27 replicas: 2 27 replicas: {{ .Values.pod.replicas.coredns }}
28 strategy: 28 strategy:
29 type: RollingUpdate 29 type: RollingUpdate
30 rollingUpdate: 30 rollingUpdate:
diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml
index a021f76..bdb0604 100644
--- a/charts/coredns/values.yaml
+++ b/charts/coredns/values.yaml
@@ -53,6 +53,8 @@ pod:
53 limits: 53 limits:
54 memory: "1024Mi" 54 memory: "1024Mi"
55 cpu: "2000m" 55 cpu: "2000m"
56 replicas:
57 coredns: 3
56 58
57monitoring: 59monitoring:
58 prometheus: 60 prometheus: