I work with multiple k8s clusters. My preferred method for managing them (based on our installation process) is to have a separate kubectl configuration file for each and have KUBECONFIG defined as a list of files in my .profile.
When I start rancher-desktop it starts fine but when I try to display the Dashboard, the window is blank.
Steps to Reproduce
Set the KUBECONFIG environment variable to a list of files, e.g.:
(with a valid configuration in each of the config files)
Start rancher-desktop
Open the Dashboard
Result
Dashboard window is displayed but its contents are blank.
Open the logs for steve and the following error is displayed:
2022-09-03T13:24:31.910Z: stderr: time="2022-09-03T09:24:31-04:00" level=fatal msg="stat /home/grady/.kube/config:/home/grady/.kube/k3s/config:/home/grady/.kube/nuc2/config:/home/grady/.kube/qa/config:/home/grady/.kube/aws-prod/config:/home/grady/.kube/aws-rke/config: no such file or directory"
2022-09-03T13:24:31.914Z: child process exited with code 1
Expected Behavior
Rancher UI is displayed in the Dashboard window.
Additional Information
For a workaround, change the Exec line of /usr/share/applications/rancher-desktop.desktop to:
Actual Behavior
I work with multiple k8s clusters. My preferred method for managing them (based on our installation process) is to have a separate
kubectl
configuration file for each and haveKUBECONFIG
defined as a list of files in my.profile
.When I start
rancher-desktop
it starts fine but when I try to display the Dashboard, the window is blank.Steps to Reproduce
Set the KUBECONFIG environment variable to a list of files, e.g.:
(with a valid configuration in each of the config files)
rancher-desktop
Result
Dashboard window is displayed but its contents are blank.
Open the logs for
steve
and the following error is displayed:Expected Behavior
Rancher UI is displayed in the Dashboard window.
Additional Information
For a workaround, change the
Exec
line of/usr/share/applications/rancher-desktop.desktop
to:Rancher Desktop Version
1.5.1
Rancher Desktop K8s Version
1.24.4
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
Ubuntu
Operating System / Build Version
Ubuntu 22.04
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
deb
Windows User Only
No response