docs(bot): 📝 Add copy-pastable command to create an alias to kubectl in README.
This commit is contained in:
@@ -93,6 +93,12 @@ The rest of the guide uses `kubectl`, but `microk8s` has `kubectl` as a subcomma
|
|||||||
|
|
||||||
2. Use `microk8s kubectl` instead of `kubectl` in the following steps. This'll require you to type
|
2. Use `microk8s kubectl` instead of `kubectl` in the following steps. This'll require you to type
|
||||||
`microk8s` at the front of all `kubectl` commands that are run from now on.
|
`microk8s` at the front of all `kubectl` commands that are run from now on.
|
||||||
|
|
||||||
|
To add an alias, run the following command:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
echo "alias kubectl='microk8s kubectl'" >> ~/.bash_aliases && source ~/.bash_aliases
|
||||||
|
```
|
||||||
|
|
||||||
##### Add a Node to the Cluster
|
##### Add a Node to the Cluster
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user