Questions tagged [rancher-rke]

45 questions
31
votes
10 answers

Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused

I am trying to deploy my application into Rancher managed kubernetes cluster RKE. I have created pipeline in gitlab using auto devops. But when the helm chart is trying to deploy I get this error. Error: Kubernetes cluster unreachable: Get…
merla
  • 489
  • 1
  • 5
  • 12
9
votes
1 answer

Which of the Elliptic Curves are supported for the Rancher Kubernetes certificates?

Problem I have generated keys and certificates by OpenSSL with the secp256k1, run rke version v1.2.8 from the Rancher Kubernetes Engine (RKE), and got the following error: FATA[0000] Failed to read certificates from dir [/home/max/cluster_certs]:…
Maxim Masiutin
  • 3,991
  • 4
  • 55
  • 72
5
votes
1 answer

How to avoid Rancher RKE Reconcile warning?

Whenever I set up a Rancher Kubernetes cluster with RKE, the cluster sets up perfectly. However, I'm getting the following warning message: WARN[0011] [reconcile] host [host.example.com] is a control plane node without reachable Kubernetes API…
Maxim Masiutin
  • 3,991
  • 4
  • 55
  • 72
3
votes
3 answers

Running the container of Rancher in local Docker Desktop, but it is not accessible on localhost:80 or :443

I am new in Rancher. My purpose of using it is to manage a k8s cluster. I am using MacBook Pro with M2 chip. I would like to run Rancher container on my Docker Desktop environment. So, I followed the quick-start guide to spin up the Rancher…
user842225
  • 5,445
  • 15
  • 69
  • 119
2
votes
0 answers

Rancher node: Nameserver limits were exceeded, some nameservers have been omitted

I was running into: Nameserver limits were exceeded, some nameservers have been omitted. I am experiencing this for my pods on two of my nodes. Three other nodes (their pods) don't have this issue. The pods are configured with ClusterFirst…
mc_plectrum
  • 363
  • 4
  • 12
2
votes
0 answers

Connection between services refused

I am getting connection refused when communicating between microservices. Microservice is exposed as Cluster IP on port 4004 via service discovery DNS is resolved correctly: /app # ping sms.obchod-uat.svc.cluster.local PING…
Tom Hapl
  • 21
  • 2
2
votes
2 answers

Rancher: kubernetes cluster stuck in pending. "No route to host"

I built a kubernetes cluster on CentOS 8 first. I followed the how-to found here: https://www.tecmint.com/install-a-kubernetes-cluster-on-centos-8/ And then I built an Ubuntu 18.04 VM and installed Rancher on it. I can access the Rancher website…
dutsnekcirf
  • 263
  • 2
  • 11
2
votes
1 answer

Rancher - valid for ingress.local

I'm trying to build the Rancher cluster (3 nodes). I setup it with Rancher signed SSL certificate. Everything is working fine except pods: cattle-node-agent which says this: level=fatal msg="Get https://rancher-test.mycompany.com: x509: certificate…
2
votes
1 answer

Kubernetes: kube-scheduler is not correctly scoring nodes for pod assignment

I am running Kubernetes with Rancher, and I am seeing weird behavior with the kube-scheduler. After adding a third node, I expect to see pods start to get scheduled & assigned to it. However, the kube-scheduler scores this new third node node3 with…
KZcoding
  • 1,417
  • 4
  • 16
  • 26
2
votes
2 answers

Kubernetes Version Upgrades and Downtime

I just tested Ranche RKE , upgrading kubernetes 13.xx to 14.xx , during upgrade , an already running nginx Pod got restarted during upgrade. Is this expected behavior? Can we have Kubernetes cluster upgrades without user pods restarting? Which…
Ijaz Ahmad
  • 11,198
  • 9
  • 53
  • 73
1
vote
1 answer

Longhorn RWX PVC Stuck Terminating

My team is experiencing an issue with longhorn where sometimes our RWX PVCs are indefinitely terminating after running kubectl delete. A symptom of this is that the finalizers never get removed. It was explained to me that the longhorn-csi-plugin…
Josh
  • 74
  • 4
1
vote
0 answers

Rancher RKE on Fedora CoreOS fails with SELinux

I'm trying to install Ranche RKE on some Fedora CoreOS 37 VMs. The installation happens through a SSH bastion host and I set up SSH key pairs correctly. I got the following error during the installation process: Failed running cluster err:[[selinux]…
sctx
  • 128
  • 2
  • 11
1
vote
1 answer

How to solve via Rancher a Kubernetes Ingress Controller Fake Certificate error

I installed Rancher 2.6 on top of a kubernetes cluster. As cert-manager version I used 1.7.1. helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.7.1 --set installCRDs=true --create-namespace helm install rancher…
Tristate
  • 1,498
  • 2
  • 18
  • 38
1
vote
1 answer

Persistent Storage for Kubernetes in Production

I experimenting and learning Rancher/Kubernetes. In a very short eBook I read this. "In a Kubernetes Cluster, it can be desirable to have persistent storage available for applications to use. As we do not have a Kubernetes Cloud Provider enabled in…
Tristate
  • 1,498
  • 2
  • 18
  • 38
1
vote
2 answers

How can I migrate clusters from a rancher to another one

rancher I have two ranchers, (rancher1, rancher2), I have some clusters in my rancher1, my objectif is to migrate all cluster from rancher1 to rancher2. (rancher2 is deployed using ha rke, however rancher1 is deployed using docker) Anyone have an…
Yassine
  • 11
  • 4
1
2 3