diff --git a/README.md b/README.md index 367ef9abd0de1b7b91ceb8b683a610a0af4d4075..f9e8146b8b61d35aa3ac98e67799aadf7b48a0d4 100644 --- a/README.md +++ b/README.md @@ -62,11 +62,17 @@ binary without the leading `./`. In order to use `kubectl` we first need to provide the necessary data to connect to the cluster. Let's configure it! +### Create a folder for configuration + +Kubectl stores its config in `~/.kube`, so create that first: + + mkdir -p ~/.kube + ### Be secure - use certificates! First, we store the certificate in a file: - gedit ~/.kube/liu-k8s.cert + kate ~/.kube/liu-k8s.cert Copy-Paste all of the **CA Certificate** into this file. @@ -74,7 +80,7 @@ Copy-Paste all of the **CA Certificate** into this file. Open the configuration file in a text editor: - gedit ~/.kube/config + kate ~/.kube/config Make sure the file contains the following: