Skip to content

python client api? #7769

Closed Answered by brandond
SiNa88 asked this question in Q&A
Jun 13, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

https://docs.k3s.io/quick-start#install-script

A kubeconfig file will be written to /etc/rancher/k3s/k3s.yaml and the kubectl installed by K3s will automatically use it

If you're using other clients, you probably need to export KUBECONFIG=/etc/rancher/k3s/k3s.yaml, or pass the path via the appropriate CLI flag.

This is just basic Kubernetes client stuff.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brandond
Comment options

brandond Sep 9, 2024
Collaborator

Answer selected by dereknola
@hutomosaleh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7768 on June 13, 2023 15:21.