Introduce CoreDNS DaemonSet

This enables coredns to run as a daemonset across the control plane
hosts, for increased resiliency.  This change retains the deployment-
controlled coredns pods as well (with two replicas) to make sure there
is no interruption to DNS service while the change is rolled out in
existing Airship deployments.  The deployment can be turned off in a
future release, once the daemonset is in place.

Change-Id: I4678ff2490ab36a2f5a1cc5030492d85ef70b7ac
This commit is contained in:
Matt McEuen 2019-06-17 12:29:18 -05:00
parent 7a075023f9
commit e70ea7851f
2 changed files with 14 additions and 2 deletions

View File

@ -141,6 +141,18 @@ data:
chart_name: coredns-htk chart_name: coredns-htk
release: coredns-htk release: coredns-htk
namespace: coredns-htk namespace: coredns-htk
values: {} values:
pod:
# TODO: replicas can be removed once we switch coredns to
# DaemonSet-only. It will be deployed with both DaemonSet
# and Deployment-managed pods as we transition to DaemonSet.
replicas:
coredns: 2
manifests:
daemonset: true
# TODO: `deployment` can be set to false once we switch coredns to
# DaemonSet-only. It will be deployed with both DaemonSet
# and Deployment-managed pods as we transition to DaemonSet.
deployment: true
dependencies: [] dependencies: []
... ...

View File

@ -45,7 +45,7 @@ data:
type: git type: git
coredns: coredns:
location: https://opendev.org/airship/promenade location: https://opendev.org/airship/promenade
reference: 44b5fae04788c6a28de0f9a2e132204561474d47 reference: 37140647342eecfa5d02dc38dcf0474ac32a02b7
subpath: charts/coredns subpath: charts/coredns
type: git type: git
coredns-htk: coredns-htk: