add note about kubectl

This commit is contained in:
iwilltry42 2019-11-08 10:27:26 +01:00
parent fbe93eb039
commit 576ac040cc

View File

@ -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