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
  • q

    quick-keyboard-83126

    08/12/2022, 2:51 PM
    So, I'm running rancher 1.5.0 (it isn't offering an update to 1.5.1 atm) and i'm seeing problems w/ running amd64 images on arm64 (m1) where the first argument to a program is mostly ignored (seems to be treated as the program name). @proud-jewelry-46860, is this https://github.com/rancher-sandbox/rancher-desktop/commit/5f13d904ad23edc0641ef10baa2eae562ddd2aa3 ?
    k
    • 2
    • 12
  • b

    billowy-raincoat-36153

    08/12/2022, 4:04 PM
    Ultimately I have two goals: 1. I’d like to align my local dev environment as much as possible with my cloud environment (i.e. cloud Kubernetes will be using containerd runtime with no shim) 2. Various tools my team is looking at using only seem to work with Docker and not with nerdctl What is the best way to accomplish this? Can I use “containerd” runtime setting in Rancher Desktop to get matching Kubernetes environment… and then install Docker Engine(?) outside of Rancher Desktop in order to use it rather than nerdctl?
    q
    b
    p
    • 4
    • 9
  • f

    flat-vr-96621

    08/12/2022, 6:15 PM
    So if you happen to be running a custom SSH agent -- and have a .ssh/config enabling it with like
    Host *
    -- beware that Rancher Desktop will get eternally stuck starting up -- it sucks Especially considering I really like this Agent https://github.com/maxgoedjen/secretive
    brew install secretive
    p
    • 2
    • 3
  • a

    alert-salesmen-99581

    08/12/2022, 7:07 PM
    Hi there... How can I enable feature gates in the Rancher Desktop (MacOs M1) https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/#using-a-feature?
  • a

    alert-salesmen-99581

    08/12/2022, 7:08 PM
    ```
    According to  <https://github.com/rancher-sandbox/rancher-desktop/issues/578#issuecomment-996557436>, I could add an overrides at `~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml` as follows, but it hasn't applied...
    
    ```# <https://github.com/rancher-sandbox/rancher-desktop/issues/578#issuecomment-996557436>
    env:
      K3S_EXEC: --feature-gates=CronJobTimeZone=true
    • 1
    • 8
  • i

    icy-garage-31078

    08/12/2022, 7:51 PM
    I'm running into an issue where I keep getting timeouts while running basic kubectl commands. IE
    kubectl get node
    If I wait a couple minutes and retry it, it'll work, but shortly there after it'll fail again. Has anyone seen this?
    🤷‍♂️ 1
  • r

    rapid-airline-64169

    08/13/2022, 7:44 AM
    I had time to do some additional troubleshooting, and here are my findings: • The Lima Alpine ISO boots properly when run in VirtualBox, whether that's on the host itself, or in VirtualBox VM within a VirtualBox VM. • The Lima Alpine ISO does NOT boot properly when run in QEMU/KVM within a VirtualBox VM. I wasn't able to capture the error information entirely since I only had a VGA console, but the last 20 lines or so matched up with the boot error I originally posted, so I assume it ran into the same problem. • The upstream Alpine ISOs ("standard" and "virt") similarly fails to boot when run in QEMU/KVM within a VirtualBox VM. • The Ubuntu 22.04 server ISO runs properly and boots to the installer menu when run in QEMU/KVM within a VirtualBox VM So it looks like this is an issue with Alpine running in QEMU/KVM within VirtualBox specifically. I'll take it up with them. 🙂
  • d

    dazzling-stone-4104

    08/13/2022, 2:11 PM
    Hello guys. I've installed Rancher Desktop 1.5.1 (I'm newbie using this software, I used to with docker-desktop) but I don't see the control-plane pods, where are them?
    PS C:\Users\user> kubectl get po -n kube-system
    NAME                                      READY   STATUS      RESTARTS         AGE
    helm-install-traefik-crd-k5frg            0/1     Completed   0                2d10h
    helm-install-traefik-wm695                0/1     Completed   1                2d10h
    snapshot-controller-7f568698bf-sjcqc      1/1     Running     98 (2m47s ago)   2d10h
    coredns-7796b77cd4-mb6m9                  1/1     Running     2 (2m47s ago)    2d10h
    snapshot-controller-7f568698bf-99qwr      1/1     Running     98 (2m47s ago)   2d10h
    svclb-traefik-ktlnl                       2/2     Running     4 (2m47s ago)    2d10h
    traefik-d497b4cb6-v2vtv                   1/1     Running     2 (2m47s ago)    2d10h
    local-path-provisioner-84bb864455-wcl5n   1/1     Running     3 (74s ago)      2d10h
    metrics-server-ff9dbcb6c-qn8n5            1/1     Running     3 (2m47s ago)    2d10h
    I've tried with nerdctl command but nothing shows
    PS C:\Users\user> nerdctl ps -a
    CONTAINER ID    IMAGE    COMMAND    CREATED    STATUS    PORTS    NAMES
    PS C:\Users\user> kubectl get cs
    Warning: v1 ComponentStatus is deprecated in v1.19+
    NAME                 STATUS    MESSAGE   ERROR
    scheduler            Healthy   ok
    controller-manager   Healthy   ok
    Another question: How can I backup the etcd db? Thanks in advance!
    w
    b
    p
    • 4
    • 3
  • b

    bored-farmer-36655

    08/13/2022, 10:35 PM
    @dazzling-stone-4104 Hi that would be nodes
    kubectl get nodes
    or
    kubectl get nodes -o wide
    are you a member of https://community.suse.com there are some articles and some training sessions on etcd backups.
  • c

    crooked-train-9833

    08/15/2022, 8:16 AM
    Hi all, I am trying to make a fresh start but Rancher-Desktop is not working and gives WSL error. Anyone to help me? The error is : Error: wsl.exe exited with code 4294967295
    w
    p
    +3
    • 6
    • 9
  • w

    worried-hospital-16911

    08/15/2022, 6:02 PM
    It's due to architecture of Lima, you are setting actually an upper limit for memory. It doesn't allocate it immediately unless you don't need it
    p
    • 2
    • 1
  • d

    dry-businessperson-9236

    08/16/2022, 4:24 PM
    Hello, just upgraded my RD to 1.5.1 (MacOS 12.5, containerd, x86) and facing the same nerdctl issue mentioned in https://github.com/rancher-sandbox/rancher-desktop/issues/2689 ie
    ~$ nerdctl pull mongo
    FATA[0000] expected ac.ServerAddress ("") to be "<https://index.docker.io/v1/>"
    Is that something that will be fixed soon? I see that the issue #2745 mentions a workaround, but I don’t use RD with moby (I still have Docker Desktop) and this is pretty much a show-stopper for me.
    p
    • 2
    • 2
  • f

    faint-airport-83518

    08/16/2022, 5:00 PM
    I’m on an f5 split tunnel VPN on my Intel macbook running Catalina 10.15.7 and am trying to
    nerdctl login
    to a private registry and it’s failing, however
    docker login
    works in the same circumstances.
    • 1
    • 6
  • b

    billions-florist-50836

    08/17/2022, 4:22 AM
    Trying to deploy
    kube-vip
    to Rancher Desktop. There are instructions for a vanilla
    k3s
    installation using auto-loaded manifests, but it's not clear where to put those; and the install calls for some flags to be set at k3s launch time which doesn't appear to be exposed in the UI. Full question noted at https://github.com/kube-vip/kube-vip/issues/436
    c
    • 2
    • 4
  • f

    flat-shoe-2195

    08/17/2022, 4:47 PM
    Hey, How is the
    ~/.rd/docker.sock
    created? I’m trying to understand how Rancher works internally, but can’t figure out how is the socket for the docker communication created.
    p
    • 2
    • 1
  • p

    purple-action-15801

    08/17/2022, 7:08 PM
    Hey everyone. I need to set up my corporate proxy for rancher desktop. I can't seem to find an article online explaining how. I want rd to be able to pull images down from hub.docker.com in my k3s rd cluster and I also want to be able to do the following behind a corporate proxy:
    nerdctl run --name mysql -p 3306:3306 mysql
    Thanks for any help in advance!
    j
    • 2
    • 2
  • e

    enough-mouse-84285

    08/17/2022, 7:45 PM
    Hello channel! Run into the Rancher Desktop 1.5 issue with cross architecture woes. Trying to run an amd64 image from an m1 mac
    p
    j
    • 3
    • 2
  • e

    enough-mouse-84285

    08/17/2022, 7:45 PM
    I found https://github.com/rancher-sandbox/rancher-desktop/issues/2668, but wondering how do I connect to the VM mentioned in the comment?
  • e

    enough-mouse-84285

    08/17/2022, 7:50 PM
    found it 🙃 https://github.com/rancher-sandbox/rancher-desktop/discussions/2324
  • b

    big-portugal-79313

    08/17/2022, 8:03 PM
    Hi - I’m totally stumped on something - I can’t get docker-compose (running Rancher Desktop w/dockerd) to build an image from a git repo …
  • b

    big-portugal-79313

    08/17/2022, 8:03 PM
    There is some issue finding
    git
    :
    failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to load cache key: failed to init repo at /var/lib/docker/overlay2/s0a24rrrvokvbixrr12yhxfjo/diff: exec: "git": executable file not found in $PATH
  • b

    big-portugal-79313

    08/17/2022, 8:03 PM
    Using
    docker build
    works fine
  • b

    big-portugal-79313

    08/17/2022, 8:06 PM
    I don’t understand what $PATH is at this point …
  • b

    big-portugal-79313

    08/17/2022, 8:11 PM
    If I had to guess, for some reason git is not installed in the VM Rancher is running, although that seems like a weird oversight
    w
    j
    • 3
    • 7
  • s

    straight-vr-13697

    08/18/2022, 7:14 AM
    Getting error "404 page not found" for http://localhost/ after installing rancher desktop could any one help on this? facing this issue in windows
    f
    • 2
    • 1
  • i

    icy-zebra-10122

    08/19/2022, 12:20 PM
    Hey! I do have rancher-desktop 1.5 installed with configured containerd as runtime. When I do start docker containers within default container namespace (non k8s) with local port fowarding, this works one. I can see that an ssh connection is created to forward traffic to lima vm. However if I stop/kill the container this ssh connection gets removed after some time. On initial start and exposure of the same port the ssh connection (and process) does not get recreated. It only works again if I expose it over a new port. Any ideas what that’s about?
  • i

    icy-zebra-10122

    08/19/2022, 12:23 PM
    I do see
    {"level":"info","msg":"Forwarding TCP from 0.0.0.0:8084 to 0.0.0.0:8084","time":"2022-08-19T14:05:33+02:00"}
    {"level":"debug","msg":"guest agent event: {Time:2022-08-19 12:11:59.037084895 +0000 UTC LocalPortsAdded:[] LocalPortsRemoved:[{IP:0.0.0.0 Port:8084}] Errors:[]}","time":"2022-08-19T14:11:59+02:00"}
    {"level":"info","msg":"Stopping forwarding TCP from 0.0.0.0:8084 to 0.0.0.0:8084","time":"2022-08-19T14:11:59+02:00"}
    those logs in
    lima.ha.stderr.log
    j
    • 2
    • 1
  • p

    plain-belgium-70524

    08/19/2022, 12:38 PM
    Hello everyone. I got an error message trying to run
    nerdctl compose up
    in my project.
    FATA[0000] expected ac.ServerAddress ("") to be "<https://index.docker.io/v1/>"
    Does anyone know something about that? The
    docker-compose.yml
    is quite simple, just one instance of PostgreSQL.
  • p

    plain-belgium-70524

    08/19/2022, 1:46 PM
    my answer: https://github.com/rancher-sandbox/rancher-desktop/issues/2689
  • w

    wooden-businessperson-32511

    08/22/2022, 11:23 AM
    Hello! 👋 How can I disable servicelb on k3s in rancher desktop in linux?
    .local/share/rancher-desktop/lima/0/lima.yaml
    Something to edit here?
    j
    • 2
    • 2
Powered by Linen
Title
w

wooden-businessperson-32511

08/22/2022, 11:23 AM
Hello! 👋 How can I disable servicelb on k3s in rancher desktop in linux?
.local/share/rancher-desktop/lima/0/lima.yaml
Something to edit here?
j

jolly-forest-99711

08/23/2022, 4:47 PM
From the path you wrote, I take it you are running on Linux? There is this issue that may be helpful: https://github.com/rancher-sandbox/rancher-desktop/issues/578. I think (I haven't tried this) the path should be
~/.local/share/rancher-desktop/lima/_config/override.yaml
. I'm curious to hear how it goes
w

wooden-businessperson-32511

08/23/2022, 7:15 PM
Yes, found it thanks!
View count: 41