Questions tagged [rancher]

Rancher is an open source project that provides a complete platform for operating Docker in production.

Rancher is an open source project that provides a complete platform for operating Docker in production. It provides infrastructure services such as multi-host networking, global and local load balancing, and volume snapshots. It integrates native Docker management capabilities such as Docker Machine and Docker Swarm. It offers a rich user experience that enables devops admins to operate Docker in production at large scale.

https://github.com/rancherio/rancher

962 questions
3
votes
0 answers

Rancher desktop unable to pull an image from Docker

I have downloaded and set up Rancher Desktop with nerdctl but I am unable to pull any public image from the Docker Hub. I am receiving an error: INFO[0011] trying next host error="failed to do request:…
David Sagang
  • 317
  • 1
  • 6
  • 24
3
votes
2 answers

Kubernetes: Deployment generation is 35, but latest observed generation is 34

I have a Rancher Kubernetes Cluster running and my application containing sevral pods is running as a helm chart. When I wanted to update my application, I updated my container image and redeployed the pod. Since 3 years, this worked well. Suddenly,…
3
votes
0 answers

Rancher RKE2 Etcd Backup and Restore infinit loop

I have a Rancher (RKE2) cluster, where I want to restore the previous etcd snapshot. I followed the (official description) but it doesn't work for me. The process gets stuck in an infinite loop. On the other hand, I see a directory called etcd-old-…
AA AA
  • 31
  • 1
  • 2
3
votes
1 answer

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…
Gautham
  • 33
  • 1
  • 3
3
votes
2 answers

rancher rke up errors on etcd host health checks remote error: tls: bad certificate

rke --debug up --config cluster.yml fails with health checks on etcd hosts with error: DEBU[0281] [etcd] failed to check health for etcd host [x.x.x.x]: failed to get /health for host [x.x.x.x]: Get "https://x.x.x.x:2379/health": remote error: tls:…
arnittocrab
  • 49
  • 1
  • 5
3
votes
1 answer

How can I self-destruct a Kubernetes pod automatically after 20 days?

I need to set up a kubernetes pod to create demo environments for clients of my web application, with a 20 day trial duration. After these 20 days, the pod should be automatically deleted, how can I make the pod self-destruct after 20 days? I use…
3
votes
1 answer

Rancher helm chart, cannot find secret bootstrap-secret

So I am trying to deploy rancher on my K3S cluster. I installed it using the documentation and helm: Rancher documentation While I am getting access using my loadbalancer. I cannot find the secret to insert into the setup. They discribe the…
kevingoos
  • 3,785
  • 4
  • 36
  • 63
3
votes
0 answers

Why is this error occrued rancher desktop? (Bridge network did not get an IP address. )

Bridge network did not get an IP address. Using shared network address 192.168.205.2
jabel123
  • 85
  • 1
  • 7
3
votes
0 answers

Container fails to download gradle

My host machine is a Windows 11 with WSL2. I installed Rancher Desktop v0.7.1 With the containerd(nerdctl(v 0.15.0)) option and Kubernetes v1.23.1(latest) Then I tried to build the following Dockerfile # syntax=docker/dockerfile:experimental #FROM…
saavedrah
  • 183
  • 14
3
votes
1 answer

Failed to add the cluster permission of a user

I tried to add user privileges to a cluster, but fail to add, received the following error message: Internal error occurred: failed calling webhook "rancherauth.cattle.io": Post…
hyj
  • 31
  • 1
  • 3
3
votes
0 answers

How to diagnose 'stuck at provisioning' problems in Rancher 2.x?

I'm attempting to set up a Rancher / Kubernetes dev lab on a set of four local virtual machines, however when attempting to add nodes to the cluster Rancher seems to be permanently stuck at 'Waiting to register with Kubernetes'. From extensive…
Pyromancer
  • 123
  • 2
  • 9
3
votes
2 answers

How to reference secrets generated by cert-manager with hash suffix in name?

The scenario: I'm having Apache Pulsar v2.6.0 deployed in Rancher Kubernetes, together with jetstack/cert-manager: helm install cert-manager jetstack/cert-manager --namespace cert-manager --set installCRDs=true helm install --values ./values.yaml…
3
votes
3 answers

Pull image from ECR to Kubernetes deployment file

I am facing the issue while pulling the docker image from AWS ECR repository, earlier i used kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v1/ --docker-username=kammana --docker-password=
sks123245
  • 149
  • 1
  • 2
  • 13
3
votes
0 answers

helm chart : strings concatenation

I am trying to concatenate variable in helmchart to develop connection strings. connection string: ConnectionStrings:TheSourceContext="Server=10.xx.xx.xx,1433;Database=Test;User Id=Test; Password=pass123;" I am passing user id &password as secret…
rahul131286
  • 31
  • 1
  • 2
3
votes
1 answer

Rancher(docker) diskusage cleanup

Rancher system started to use a heavy amount of disksspace. Kubernetes was setup by Rancher's RKE. Diskusage is already over 5TB however I have only 10-12 replicaset, their real data is binded to PV which uses nfs (which has only a size of 10gb). df…
beatrice
  • 3,684
  • 5
  • 22
  • 49