Questions tagged [rke2]

31 questions
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
2
votes
0 answers

Windows RKE2 nodes networking isn't working

In AWS, I have created a RKE2 cluster using the Rancher 2.6.2 UI. There are two Ubuntu 20.04 control plane nodes, and pods on these hosts can reach other pods/ the internet. My Windows node (Server 2019, 1809 Datacenter) joins the cluster without…
Mike
  • 21
  • 1
1
vote
0 answers

Self-hosted Rke2 Load balancer No External IP

This is potentially a noob question, but I cannot figure it out on my own even after researching. I have my own HA K8s set up with RKE2. All works fine, NodePort services are accessible. The rancher ingress allows me to configure DNS mappings,…
cojack20
  • 403
  • 1
  • 5
  • 13
1
vote
1 answer

how to manipulate coredns corefile in rke2 k8s cluster?

I'm using rke2 cluster, i.e. a k8s distribution. And I want to add a nameserver for '*.example.org' to the cluster DNS system, for which I should change the core file of coredns like below. .:53 { errors health kubernetes…
Dai Zhang
  • 71
  • 7
1
vote
1 answer

Failed to get rke2 server/agent to work on Virtualbox

I am following RKE2's Quick Start guide and this Dell's article to get a pair of RKE2 server and agent to work. I am using v1.24.9+rke2r2. The setup is done with Virtualbox using Ubuntu 20.04. Both VM's are using Adapter 1 for NAT, which always…
CaTx
  • 1,421
  • 4
  • 21
  • 42
1
vote
2 answers

Error on importing my RKE2 Cluster on Paralus

I'm facing a problem.. It seems like impossible to import my cluster on Paralus. With domain name I got a no such host error and with core dns resolution I got a go error.. After installed paralus on my cluster, with the basic commands like : helm…
mblt
  • 19
  • 1
1
vote
0 answers

Rancher RKE2 CNI Plugin Not Initialized

I've ran into this error message while installing Rancher's RKE2 tools on my Ubuntu 20.04 (Hirsute) Virtualbox (runs on a Windows 10 laptop). I've allocated 128 MB of video memory, 145GB of storage, and 8196MB of memory. Container runtime network…
RobbieS
  • 120
  • 12
1
vote
1 answer

RKE2 VIP cluster not responding when only 1 master is available

Node IP Role OS 192.x.x.11 Master 1 RHEL8 192.x.x.12 Master 2 RHEL8 192.x.x.13 Master 3 RHEL8 192.x.x.16 VIP Use-Cases No of Masters Ready or Running Expected Actual 3 Masters Ingress Created with VIP IP and ping to VIP…
1
vote
1 answer

rke2 ingress-nginx default ssl certificate

Can anyone advise how to apply the default ssl certificate to ingress-nginx on rke2? I followed the doc at https://docs.rke2.io/networking/#nginx-ingress-controller I imported the TLS certificate into a secret I created this file on each node (6) in…
crowne
  • 8,456
  • 3
  • 35
  • 50
1
vote
2 answers

RKE2 - Change containerd service command

I'm trying to change the command executed when launching my rke2-server. I currently use systemctl to start rke2-server.service, which automatically create kubelet and containerd process. I need to change containerd command line arguments to set a…
0
votes
0 answers

kube-apiserver-extra-mount - How to verify that it is mounted?

I am trying to troubleshoot some features in my RKE2/K3S cluster and I suspect that the /etc/rancher/rke2/config.yaml kube-apiserver-extra-mount: - "/opt/path:/opt/path" did not update / apply but I don't know how to verify that. A kubectl…
Zanndorin
  • 360
  • 3
  • 15
0
votes
0 answers

how to setup production ready kubernetes cluster in "large scale environment"

Does anybody have enough experience to say what is the best provisioning tool for setting up a production ready k8s cluster in large scale? I'm already using rke2 and rke to setup a cluster. I would like to know if there is a better solution? Is…
Ali
  • 11
  • 4
0
votes
0 answers

RKE2 + Cilium leads to DNS issues

Hi I have a little RKE2 cluster on my Windows Data Center 2022 using Hyper-V on Rocky Linux 8.8. I am attempting to replace kube-proxy with cilium, following this guide I have ensured that KubeProxyReplacement is set to Strict on the Cilium chart…
user1314147
  • 174
  • 1
  • 5
  • 25
0
votes
0 answers

RKE2 opening firewall for public interface

We have our setup with our own iptable rules which are being applied by a systemd process, and which blocks external traffic to our public interface. We setup RKE2 with both: node-ip: node-external-ip:…
samikroon
  • 11
  • 3
0
votes
0 answers

Getting "Error from server: error dialing backend: EOF" after RKE2 upgrade

I upgraded a Kubernetes cluster from version 1.22 to 1.25, after upgrading everything seems to run correctly. But on using kubectl exec or kubectl logs, I get the error: Error from server: error dialing backend: EOF. I cannot find much about this…
samikroon
  • 11
  • 3
1
2 3