https://rancher.com/ logo
Join the conversationJoin Slack
Channels
academy
amazon
arm
azure
cabpr
chinese
ci-cd
danish
deutsch
developer
elemental
epinio
espanol
events
extensions
fleet
français
gcp
general
harvester
harvester-dev
hobbyfarm
hypper
japanese
k3d
k3os
k3s
k3s-contributor
kim
kubernetes
kubewarden
lima
logging
longhorn-dev
longhorn-storage
masterclass
mesos
mexico
nederlands
neuvector-security
office-hours
one-point-x
onlinemeetup
onlinetraining
opni
os
ozt
phillydotnet
portugues
rancher-desktop
rancher-extensions
rancher-setup
rancher-wrangler
random
rfed_ara
rio
rke
rke2
russian
s3gw
service-mesh
storage
submariner
supermicro-sixsq
swarm
terraform-controller
terraform-provider-rancher2
terraform-provider-rke
theranchcast
training-0110
training-0124
training-0131
training-0207
training-0214
training-1220
ukranian
v16-v21-migration
vsphere
windows
Powered by Linen
rancher-desktop
  • w

    wide-mechanic-33041

    08/05/2022, 8:50 PM
    seems like the limavm bump had a bunch of unexpected issues so maybe dns as well
  • s

    stale-gigabyte-19722

    08/05/2022, 8:53 PM
    yeah the above test was just one of my debugging steps that is easy to share, my real issue was inability to build a java application in a vscode devcontainer because it could not resolve some dependencies
    w
    • 2
    • 6
  • a

    ancient-sundown-51689

    08/06/2022, 12:26 AM
    In case someone else has the same problem I had, if you're finding that Rancher Desktop isn't creating your docker context and you realize that
    nerdctl run
    is working fine, switch from containerd to dockerd in Preferences. 🤣
    ☝️ 1
  • m

    melodic-hamburger-23329

    08/08/2022, 7:30 AM
    How can I provide customized configuration for containerd in Rancher Desktop?
    👀 1
    f
    k
    • 3
    • 15
  • m

    melodic-hamburger-23329

    08/08/2022, 12:39 PM
    Does Rancher Desktop’s k3s include embedded stargz snapshotter, and if so, how to enable it?
    f
    • 2
    • 35
  • c

    cool-truck-28488

    08/08/2022, 2:15 PM
    Is there a way to get rancher-desktop to not provide it's own kubectl. I'm not sure what it is about it, but it's bugged with our oidc config, historically in my .zshrc i've been removing the file, but it seems to come back from time to time
  • e

    elegant-memory-40145

    08/08/2022, 7:49 PM
    are there any issues with Rancher Desktop when the host ip changes, do I have to restart RD when this happens? I have a cluster that connects to SQL running on the host was working but after ip changed and I updated everything it can no longer connect.
  • a

    agreeable-refrigerator-81827

    08/08/2022, 8:44 PM
    Can anyone help me figure out why I cannot install Neuvector correctly on Rancher Desktop? I documented my workflow in this public repo. I was able to port forward and access the Neuvector UI: https://github.com/n1g3ld0ugla5/neuvector-rancher-desktop Basically, the Neuvector enforcer pod, scanner pods and manager pod are all running correctly. I'm unable to login from the Neuvector UI because the Neuvector controller pods are in a CrashLoopBackOff error. Couldn't see much when describing those pods. Anything I should be looking for via kubectl logs command?
    f
    • 2
    • 1
  • e

    enough-umbrella-90217

    08/09/2022, 11:51 AM
    Hello, We are facing issue in Downstream cluster when we update Rancher. Our setup is: Rancher Version: 2.6.3 Local cluster: K3s 1.23.9 Downstream cluster (on bare-metal) using RKE: K8s 1.21.6 When we are trying to update Rancher from version 2.6.3 to 2.6.6, Cluster agent pod in Downstream cluster (cattle-cluster-agent) is going into crashloopbackoff status. And we see below erros in cattle-cluster-agent pod: starting /v1, Kind=Secret controller" E0804 09:55:45.612622 39 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) goroutine 4699 [running]: k8s.io/apimachinery/pkg/util/runtime.logPanic({0x37e9880, 0x6ea0100}) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/runtime/runtime.go:74 +0x7d k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc0099ef5f0}) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/runtime/runtime.go:48 +0x75 panic({0x37e9880, 0x6ea0100}) /usr/lib64/go/1.17/src/runtime/panic.go:1038 +0x215 github.com/rancher/dynamiclistener/factory.(*TLS).Merge(0x34, 0x0, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/factory/gen.go:79 +0x70 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).saveInK8s(0xc0001f2c40, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:134 +0x96 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).Update(0xc0001f2c40, 0xc009943b70) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:169 +0xb3 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).init.func1({0x0, 0x0}, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:83 +0xa5 github.com/rancher/wrangler/pkg/generated/controllers/core/v1.FromSecretHandlerToHandler.func1({0xc00bff0360, 0x1e14d34f513eba}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220411195911-c2b951ab3480/pkg/generated/controllers/core/v1/secret.go:102 +0x44 github.com/rancher/lasso/pkg/controller.SharedControllerHandlerFunc.OnChange(0xc0099ef5e0, {0xc00bff0360, 0xc010633080}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/sharedcontroller.go:29 +0x38 github.com/rancher/lasso/pkg/controller.(*SharedHandler).OnChange(0xc000cc9ae0, {0xc00bff0360, 0x1a}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/sharedhandler.go:75 +0x23f github.com/rancher/lasso/pkg/controller.(*controller).syncHandler(0xc000d749a0, {0xc00bff0360, 0x1a}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:220 +0x93 github.com/rancher/lasso/pkg/controller.(*controller).processSingleItem(0xc000d749a0, {0x35b2e60, 0xc0099ef5f0}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:201 +0x10e github.com/rancher/lasso/pkg/controller.(*controller).processNextWorkItem(0xc000d749a0) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:178 +0x46 github.com/rancher/lasso/pkg/controller.(*controller).runWorker(...) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:167 k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x7fbb1a657fe8) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:155 +0x67 k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0018db500, {0x4781a40, 0xc00f15a270}, 0x1, 0xc000cf5f80) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:156 +0xb6 k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x0, 0x3b9aca00, 0x0, 0x80, 0x440c45) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:133 +0x89 k8s.io/apimachinery/pkg/util/wait.Until(0xc00978e758, 0xc00978e778, 0xc00978e768) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:90 +0x25 created by github.com/rancher/lasso/pkg/controller.(*controller).run /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:135 +0x2c6 panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xb8 pc=0x2168f10] goroutine 4699 [running]: k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc0099ef5f0}) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/runtime/runtime.go:55 +0xd8 panic({0x37e9880, 0x6ea0100}) /usr/lib64/go/1.17/src/runtime/panic.go:1038 +0x215 github.com/rancher/dynamiclistener/factory.(*TLS).Merge(0x34, 0x0, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/factory/gen.go:79 +0x70 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).saveInK8s(0xc0001f2c40, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:134 +0x96 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).Update(0xc0001f2c40, 0xc009943b70) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:169 +0xb3 github.com/rancher/dynamiclistener/storage/kubernetes.(*storage).init.func1({0x0, 0x0}, 0xc00c117c80) /mailto:go/pkg/mod/github.com/rancher/dynamiclistener@v0.3.1-0.20210616080009-9865ae859c7f/storage/kubernetes/controller.go:83 +0xa5 github.com/rancher/wrangler/pkg/generated/controllers/core/v1.FromSecretHandlerToHandler.func1({0xc00bff0360, 0x1e14d34f513eba}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/wrangler@v0.8.11-0.20220411195911-c2b951ab3480/pkg/generated/controllers/core/v1/secret.go:102 +0x44 github.com/rancher/lasso/pkg/controller.SharedControllerHandlerFunc.OnChange(0xc0099ef5e0, {0xc00bff0360, 0xc010633080}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/sharedcontroller.go:29 +0x38 github.com/rancher/lasso/pkg/controller.(*SharedHandler).OnChange(0xc000cc9ae0, {0xc00bff0360, 0x1a}, {0x47b3720, 0xc00c117c80}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/sharedhandler.go:75 +0x23f github.com/rancher/lasso/pkg/controller.(*controller).syncHandler(0xc000d749a0, {0xc00bff0360, 0x1a}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:220 +0x93 github.com/rancher/lasso/pkg/controller.(*controller).processSingleItem(0xc000d749a0, {0x35b2e60, 0xc0099ef5f0}) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:201 +0x10e github.com/rancher/lasso/pkg/controller.(*controller).processNextWorkItem(0xc000d749a0) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:178 +0x46 github.com/rancher/lasso/pkg/controller.(*controller).runWorker(...) /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:167 k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x7fbb1a657fe8) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:155 +0x67 k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0018db500, {0x4781a40, 0xc00f15a270}, 0x1, 0xc000cf5f80) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:156 +0xb6 k8s.io/apimachinery/pkg/util/wait.JitterUntil(0x0, 0x3b9aca00, 0x0, 0x80, 0x440c45) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:133 +0x89 k8s.io/apimachinery/pkg/util/wait.Until(0xc00978e758, 0xc00978e778, 0xc00978e768) /mailto:go/pkg/mod/k8s.io/apimachinery@v0.23.3/pkg/util/wait/wait.go:90 +0x25 created by github.com/rancher/lasso/pkg/controller.(*controller).run /mailto:go/pkg/mod/github.com/rancher/lasso@v0.0.0-20220412224715-5f3517291ad4/pkg/controller/controller.go:135 +0x2c6 Can someone please help us here? Thank you
    f
    • 2
    • 1
  • t

    thankful-vase-72453

    08/09/2022, 3:33 PM
    My org is working on a project to remove admin rights. Is it possible to start Kubernetes with a post-install script?
    p
    • 2
    • 2
  • g

    gifted-kitchen-36233

    08/09/2022, 5:23 PM
    Please help Someone https://community.suse.com/posts/25913061?utm_source=manual
    k
    • 2
    • 1
  • g

    gifted-kitchen-36233

    08/09/2022, 5:23 PM
    Hey there community :)I have a questionI am trying to import a minikube k8s cluster to Rancher with no success 😞All I get is (Over the minikube cluster) NAMESPACE cattle-system NAME pod/cattle-cluster-agent-6696b696d6-mw2kh READY 0/1 STATUS CrashLoopBackOff RESTARTS 46 AGE (39s ago) 5h2m and the ‘kubectl describe’ output is Events: Warning BackOff 2m34s (x800 over 5h1m) kubelet Back-off restarting failed container Has Anyone tried to import minikube cluster ? Details I am on a MAC(M1) machine Installed Rancher Desktop Installed with helm the Rancher cluster running the dockerd(mody) container runtime Pleaseeeee help 🙂
  • k

    kind-iron-72902

    08/09/2022, 6:48 PM
    Hi, could you file an issue at https://github.com/rancher-sandbox/rancher-desktop/issues -- it looks like there's more going on here than I can supply a quick answer to
    a
    h
    • 3
    • 3
  • l

    loud-lamp-17159

    08/10/2022, 12:31 PM
    Hello Team. Facing issue which is mentioned in the link "https://github.com/rancher-sandbox/rancher-desktop/discussions/2638" Please help.
  • c

    crooked-zebra-47696

    08/10/2022, 3:13 PM
    Hey Team! I am seeing an odd issue when i have rancher desktop open (with or without kubernetes started) my requests to kubernetes clusters seem to take an extra 5 seconds and i always get the following errors with kubectl
    W0810 11:11:09.918791   30466 transport.go:243] Unable to cancel request for *exec.roundTripper
    I0810 11:11:09.919551   30466 versioner.go:56] Remote kubernetes server unreachable
    running kubectl with verbose i see
    W0810 11:11:40.870288   30615 transport.go:243] Unable to cancel request for *exec.roundTripper
    I0810 11:11:40.870416   30615 versioner.go:56] Remote kubernetes server unreachable
    I0810 11:11:40.942818   30615 loader.go:372] Config loaded from file:  /Users/bobby_work/.kube/config
    I0810 11:11:40.949541   30615 round_trippers.go:466] curl -v -XGET  -H "Accept: application/json;as=Table;v=v1;g=<http://meta.k8s.io|meta.k8s.io>,application/json;as=Table;v=v1beta1;g=<http://meta.k8s.io|meta.k8s.io>,application/json" -H "User-Agent: kubectl1.23.5/v1.23.5 (darwin/amd64) kubernetes/c285e78" '<https://teleport-proxy-fa453aa96721d1b9.elb.us-west-2.amazonaws.com:3026/api/v1/pods?limit=500>'
    I0810 11:11:46.026591   30615 round_trippers.go:495] HTTP Trace: DNS Lookup for <kubernetesapi> resolved to [{54.202.178.200 } {35.81.43.116 }]
    I0810 11:11:46.106126   30615 round_trippers.go:510] HTTP Trace: Dial to tcp:<kubernetesapi_ip>:3026 succeed
    I0810 11:11:46.342400   30615 round_trippers.go:570] HTTP Statistics: DNSLookup 5034 ms Dial 79 ms TLSHandshake 85 ms ServerProcessing 150 ms Duration 5392 ms
    when i quit out of rancher desktop I dont see the remote kubernetes server unreachable errors and the DNSLookup time is fast
    p
    • 2
    • 2
  • c

    crooked-zebra-47696

    08/10/2022, 3:14 PM
    I’m on rancher desktop version 1.5.0 I am on an x86 mac running Monterey
  • p

    proud-jewelry-46860

    08/10/2022, 11:41 PM
    That seems rather odd; Rancher Desktop does its own setup to make sure the service exists.
    s
    • 2
    • 11
  • w

    witty-librarian-14389

    08/11/2022, 4:03 AM
    So, got fed-up with minikube+VBox on a mac, decided to give rancher-desktop a twirl - so far MUCH more stable!! - however I cant seem to figure out how to ssh into the linux host vm. What I really need is for a container to be able to connect to the mac host on a specific port. But since I could not figure it out, I worked around it by sshing into the linux host and reverse tunneling the connection. How do I accomplish same thing with Rancher Desktop?
    p
    • 2
    • 4
  • d

    damp-guitar-1319

    08/11/2022, 10:51 AM
    Hi all, I’m having issues changing the virtual Machine resources for Rancher Desktop, I’m just wondering if anyone else has had this issue and knows of some kind of workaround. Info It’s two brand new MacBook Pro M1’s with a fresh install of Rancher Desktop, I used brew to install it, kubernetes disabled, using moby. I have it installed on a couple other identical Mac’s which where done a couple months ago and they all work fine.
    p
    • 2
    • 4
  • f

    freezing-airplane-30363

    08/11/2022, 11:41 AM
    Hi, did you install aarch64 version? https://github.com/rancher-sandbox/rancher-desktop/releases/download/v1.5.0/Rancher.Desktop-1.5.0.aarch64.dmg
    p
    a
    • 3
    • 3
  • a

    acoustic-sunset-13848

    08/11/2022, 12:28 PM
    With NavLinks you can add links to the navigation list on the left of the web UI. The config allows you to set the target for the link, i.e. _self, _parent, etc. is there a way to replace the main div as opposed to use a new window or replace the existing?
    • 1
    • 1
  • i

    icy-insurance-45500

    08/11/2022, 12:56 PM
    Hello every1 🙂 Quick question… Running Rancher Desktop and KIND kubernetes setup on Intel Mac … Network was tweaked by adding
    /etc/docker/daemon.json
    into LIMA machine for
    10.100.0.0/16
    subnet for conflicts handling… I’m trying to configure local setup with MetalLB and dnsmasq, however accessing “docker nodes” is impossible due to network setup. Docker Desktop allowed using docker-mac-net-connect for bridging host and docker node network and allowing access. This approach doesn’t work with Rancher Desktop, host is unable to access nodes or LB IP, however accessing from LIMA machine ( internally ) works without issues. Anyone has some reference or idea how to get around this ? Thanks in advance 🙂
    p
    • 2
    • 4
  • w

    witty-librarian-14389

    08/11/2022, 3:37 PM
    Let me rephrase my question - when setting up RD on a mac, there is a network created between LIMA and Mac - there is an IP assigned to the mac as well as the linux box on this network. Is there a hostname that is automatically available that points to the Mac’s IP that can be used from the containers? I found that the networking is there, I can connect on those - but I am trying to allow other people to do the same instead of hardcoding the IP address that is likely specific to my machine 😕
    i
    b
    p
    • 4
    • 18
  • b

    busy-mechanic-89648

    08/11/2022, 5:06 PM
    hi, when I first install rancher-desktop on my intel mac, there is a problem after click “Accept”
    w
    • 2
    • 7
  • b

    billowy-waitress-80413

    08/11/2022, 7:04 PM
    I tried to get this up and working and it doesn't seem to enable p9?
    mkdir -p ~/Library/Application\ Support/rancher-desktop/lima/_config
    vi ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yml
    And then fill it with
    mountType: 9p
    mounts:
    - location: "~"
      9p:
        # Try choosing "mmap" or "none" if you see a stability issue with the default "fscache".
        cache: "fscache"
    provision:
    - mode: system
      script: |
        #!/bin/sh
        mkmntdirs
        mount -
    Am I doing something wrong? Did the steps change?
    • 1
    • 5
  • g

    gifted-answer-45715

    08/11/2022, 10:37 PM
    Hello guys, is anyone got istio working in the last version of rancher desktop ?
  • a

    abundant-fall-57530

    08/11/2022, 10:53 PM
    I'm not 100% sure this is a Rancher Desktop issue, but will start here as I hit a dead-end in my own investigation: /usr/share/maven/bin/mvn: package: No such file or directory when building on macOS 🧵
    b
    p
    • 3
    • 12
  • b

    better-fountain-25714

    08/11/2022, 10:55 PM
    I keep having a problem with dns. I have been using
    rdctl shell
    to overwrite the
    /etc/resolv.conf
    but it's getting changed back sometimes. I don't know why I need to do this, or how I'm supposed to override it. Anybody have ideas? Old thread for reference https://rancher-users.slack.com/archives/C0200L1N1MM/p1659368698900629?thread_ts=1659368698.900629&amp;cid=C0200L1N1MM
  • r

    rapid-eye-50641

    08/12/2022, 12:11 AM
    Hi, I am happy to share that we have just shipped a patch release of Rancher Desktop v1.5.1, https://github.com/rancher-sandbox/rancher-desktop/releases/tag/v1.5.1
    ❤️ 6
  • f

    flaky-dusk-65029

    08/12/2022, 2:00 PM
    Q: I've installed rancher desktop on Windows 11+WSL using the docker(moby) container runtime. In Preferences > WSL, I see the following error related to my WSL integration:
    Error: File /c/users/msew/.kube/config exists and is not a symlink
    • docker desktop is pre-installed but I am not running it. • What file should I link that kube config to? • i tried factory resetting rancher desktop, no difference.
Powered by Linen
Title
f

flaky-dusk-65029

08/12/2022, 2:00 PM
Q: I've installed rancher desktop on Windows 11+WSL using the docker(moby) container runtime. In Preferences > WSL, I see the following error related to my WSL integration:
Error: File /c/users/msew/.kube/config exists and is not a symlink
• docker desktop is pre-installed but I am not running it. • What file should I link that kube config to? • i tried factory resetting rancher desktop, no difference.
View count: 23