mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-23 16:47:47 -02:30
The path of kubeconfig should be configurable, and its default value is /etc/kubernetes/admin.conf. Most paths of the file are configurable but some were not. This make those configurable.
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
- name: kubeadm | scale down coredns replicas to 0 if not using coredns dns_mode
|
||||
command: >-
|
||||
{{ bin_dir }}/kubectl
|
||||
--kubeconfig /etc/kubernetes/admin.conf
|
||||
--kubeconfig {{ kube_config_dir }}/admin.conf
|
||||
-n kube-system
|
||||
scale deployment/coredns --replicas 0
|
||||
register: scale_down_coredns
|
||||
|
||||
Reference in New Issue
Block a user