Skip to content

Using the client without a ~/.kube/config file #1094

Answered by nightkr
azzamsa asked this question in Q&A
Discussion options

You must be logged in to vote

You can create a custom Config, which you can then build a Client from.

If your API gives you a kubeconfig then you can also use Config::from_custom_kubeconfig to load it directly from memory.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by azzamsa
Comment options

You must be logged in to vote
1 reply
@vCassius
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