mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Install client tools on master.
We now include kubecfg and kubectl in "server binary" tar and place them into /usr/local/bin on the master.
This commit is contained in:
13
cluster/saltbase/salt/kube-client-tools.sls
Normal file
13
cluster/saltbase/salt/kube-client-tools.sls
Normal file
@@ -0,0 +1,13 @@
|
||||
/usr/local/bin/kubecfg:
|
||||
file.managed:
|
||||
- source: salt://kube-bins/kubecfg
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
|
||||
/usr/local/bin/kubectl:
|
||||
file.managed:
|
||||
- source: salt://kube-bins/kubectl
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
@@ -31,6 +31,7 @@ base:
|
||||
- controller-manager
|
||||
- scheduler
|
||||
- nginx
|
||||
- kube-client-tools
|
||||
- logrotate
|
||||
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
|
||||
- openvpn
|
||||
|
Reference in New Issue
Block a user