add note about kubectl
This commit is contained in:
parent
fbe93eb039
commit
576ac040cc
@ -46,6 +46,7 @@ or...
|
||||
Check out what you can do via `k3d help`
|
||||
|
||||
Example Workflow: Create a new cluster and use it with `kubectl`
|
||||
(*Note:* `kubectl` is not part of `k3d`, so you have to [install it first if needed](https://kubernetes.io/docs/tasks/tools/install-kubectl/))
|
||||
|
||||
1. `k3d create` to create a new single-node cluster (docker container)
|
||||
2. `export KUBECONFIG=$(k3d get-kubeconfig)` to make `kubectl` to use the kubeconfig for that cluster
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user