mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
coredns: set deploy replicas when dns autoscaler is disabled (#12387)
Allow setting deployment replicas through `coredns_replicas` when `enable_dns_autoscaler` is set to false. Signed-off-by: Seena Fallah <seenafallah@gmail.com>
This commit is contained in:
@@ -9,6 +9,9 @@ metadata:
|
||||
addonmanager.kubernetes.io/mode: Reconcile
|
||||
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}"
|
||||
spec:
|
||||
{% if not enable_dns_autoscaler %}
|
||||
replicas: {{ coredns_replicas }}
|
||||
{% endif %}
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
|
||||
Reference in New Issue
Block a user