Skip to content
Snippets Groups Projects
Commit 9b724788 authored by Henrik Henriksson's avatar Henrik Henriksson
Browse files

Make details work

parent 051b1624
No related branches found
No related tags found
No related merge requests found
Pipeline #40380 passed
...@@ -62,11 +62,17 @@ binary without the leading `./`. ...@@ -62,11 +62,17 @@ binary without the leading `./`.
In order to use `kubectl` we first need to provide the necessary data In order to use `kubectl` we first need to provide the necessary data
to connect to the cluster. Let's configure it! 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! ### Be secure - use certificates!
First, we store the certificate in a file: 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. Copy-Paste all of the **CA Certificate** into this file.
...@@ -74,7 +80,7 @@ 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: Open the configuration file in a text editor:
gedit ~/.kube/config kate ~/.kube/config
Make sure the file contains the following: Make sure the file contains the following:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment