python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Is there an API endpoint to get the kubeconfig file of a cluster from Rancher using its own API?
I'm trying to find a way to get the kubeconfig file using curl command and hit the rancher API. Is there an API endpoint to get that ?
I tried calling these following endpoints but no luck.
https://cl...
Gautham
Votes: 0
Answers: 1
rancher CLI - rancher login and connect specific cluster
The rancher login works and post login getting a prompt to chose the project.
rancher login $URL --token $TOKEN
I want to bypass the project prompt and would want to set the cluster context as well....

P Ekambaram
Votes: 0
Answers: 0
Rancher: ranchercli switch context in script not interactively
I like to list all my contexts and switch to it from a command in my script, but it is interactively:
c:\\dist\\ranchercli\\rancher.exe context switch
...
MortenB
Votes: 0
Answers: 1