I upgraded rancher to 2.10.2 then ran into <bug>. ...
# general
s
I upgraded rancher to 2.10.2 then ran into bug. No gui no kubectl working. How to downgrade rancher manually to 2.10.1 , I only have ssh access to all nodes. Thanks
h
in your helm command you can pass version information
for example - to go back to2.10.1
--version=2.10.1
s
The kubectl and helm list doesn't work.
h
hmm
s
How I get kubeconfig from control plane nodes ? it's rke1.
h
as per this doc: https://rke.docs.rancher.com/kubeconfig
Copy code
When you deployed Kubernetes, a kubeconfig is automatically generated for your RKE cluster. This file is created and saved as kube_config_cluster.yml.
I assume whatever directory you did "rke up" from...
s
Couldn't find file on controlplane/workers nodes using
find / -name kube_config_cluster.yml
h
do you have
kube_config_rancher-cluster.yml
or in users home dir
~/.kube/config
s
I have kubeconfig file on my workstation that I generated from rancher gui before the upgrade . This one is not working. On controlplane nodes, I can't find the initial kubeconfig that usually points to controlplance localhost.
h
was this cluster generated from Rancher UI? or from running
rke up
s
The initial cluster was created using terraform provider
rancher/rke
to create
resource "rke_cluster"
h
you may want to ask in #C896QJRPE I am not sure how you can retrieve kubeconfig if its not saved as
kube_config_cluster.yml
or
kube_config_rancher-cluster.yml
s
Thanks.