From 9b7247882228df3a6ee14875cfc885bef57e7d8f Mon Sep 17 00:00:00 2001 From: Henrik Henriksson <henrik.henriksson@liu.se> Date: Thu, 15 Apr 2021 13:39:43 +0000 Subject: [PATCH] Make details work --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 367ef9a..f9e8146 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: -- GitLab