Skip to content

Commit 1b4cecc

Browse files
committed
Remove k3d context command
Fixes: #198 - thanks @TheApeMachine Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 6b54bfb commit 1b4cecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lab1b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ You can follow the labs whilst using Kubernetes, but you may need to make some s
4242

4343
#### *k3s using k3d*
4444

45-
If you have Docker on your computer, then you can use `k3d` from Rancher Labs. It installs a lightweight version of Kubernetes called `k3s` and runs it within a Docker container, meaning it will work on any computer that has Docker.
45+
If you have Docker on your computer, then you can use the `k3d` tool, hosted by Rancher Labs. It installs a lightweight version of Kubernetes called `k3s` and runs it within a Docker container, meaning it will work on any computer that has Docker.
4646

4747
* [Install k3d](https://github.com/rancher/k3d)
4848

4949
* Start a cluster
5050

5151
1. `k3d cluster create CLUSTER_NAME` to create a new single-node cluster (= 1 container running k3s + 1 loadbalancer container)
52-
2. `k3d kubeconfig merge CLUSTER_NAME --switch-context` to update your default kubeconfig and switch the current-context to the new one
52+
2. The context for kubectl will be updated automatically, you can check this with `kubectl config get-contexts`
5353
3. execute some commands like `kubectl get pods --all-namespaces`
5454
If you want to delete default cluster `k3d cluster delete CLUSTER_NAME`
5555

0 commit comments

Comments
 (0)