alias kubectl
This commit is contained in:
parent
abfc7ef8c9
commit
8962d42a81
|
@ -7,9 +7,6 @@ packages:
|
|||
snap:
|
||||
commands:
|
||||
- ["install", "microk8s", "--classic"]
|
||||
- ["install", "kubectl", "--classic"]
|
||||
|
||||
|
||||
|
||||
system_info:
|
||||
default_user:
|
||||
|
@ -20,7 +17,7 @@ system_info:
|
|||
|
||||
runcmd:
|
||||
- mkdir -p /home/ubuntu/.kube /home/ubuntu/.config/fish/completions
|
||||
- microk8s config > /home/ubuntu/.kube/config
|
||||
- microk8s alias microk8s.kubectl kubectl
|
||||
- kubectl completion fish > /home/ubuntu/.config/fish/completions/kubectl.fish
|
||||
- chown -R ubuntu:ubuntu /home/ubuntu/.kube /home/ubuntu/.config/fish
|
||||
- microk8s enable dns ingress dashboard helm helm3
|
Loading…
Reference in New Issue