New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: export KUBECONFIG for cilium-cli with k3s #18697
Conversation
Previously, commit 606b5fe ("docs: KUBECONFIG for cilium-cli with k3s") and commit 606b5fe ("docs: KUBECONFIG for cilium-cli with k3s") changed `cilium install` commands to set KUBECONFIG explicitly. However, successive cilium-cli commands (e.g. `cilium status` or `cilium connectivity test` in the getting started guide) will need the corresponding kubeconfig as well. Thus, suggest to `export KUBECONFIG` at the top of the k3s specific guides. For cilium/cilium-cli#696 Signed-off-by: Tobias Klauser <tobias@cilium.io>
3c4b423
to
43b2a06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm looking at the dedicated k3s doc and wondering if we even need a dedicated k3s page if k3s is one of the supported tabs under the main "k8s-install-default" page... but that's unrelated to the goal of this PR.
Good point about the dedicated k3s doc. It looks like most of it is already covered in the k3s-specific part of the quick start guide. It looks like the only part missing is the step to install additional k3s nodes which don't looks specific to Cilium, so one could argue this is already covered by the k3s upstream docs. |
Previously, commit 606b5fe ("docs: KUBECONFIG for cilium-cli with
k3s") and commit 606b5fe ("docs: KUBECONFIG for cilium-cli with
k3s") changed
cilium install
commands to set KUBECONFIG explicitly.However, successive cilium-cli commands (e.g.
cilium status
orcilium connectivity test
in the getting started guide) will need thecorresponding kubeconfig as well. Thus, suggest to
export KUBECONFIG
at the top of the k3s specific guides.
For cilium/cilium-cli#696