From f9da23fc1a9ea6a65c1370966cb3178ef763888e Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Fri, 1 Nov 2024 04:24:42 -0300 Subject: [PATCH] docs(bot): :memo: Add copy-pastable command to create an alias to `kubectl` in README. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c6b8ded..bef6bea 100644 --- a/README.md +++ b/README.md @@ -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 `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