Skip to content

Commit

Permalink
KUBECONFIG needs to be set before kubectl commands will work
Browse files Browse the repository at this point in the history
Fixes issue submariner-io#619

Signed-off-by: Andre Fredette <afredette@redhat.com>
  • Loading branch information
anfredette committed Nov 30, 2021
1 parent 3c6b253 commit 90c4268
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/content/getting-started/quickstart/kind/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ $ kind get clusters
cluster1
cluster2
```

To use kubectl on the created clusters, first set the KUBECONFIG environment variable as follows:
```bash
export KUBECONFIG=output/kubeconfigs/kind-config-cluster1:output/kubeconfigs/kind-config-cluster2
```

<!-- markdownlint-disable no-trailing-spaces -->
To list the local Kubernetes contexts, use the following command:

Expand Down

0 comments on commit 90c4268

Please sign in to comment.