Questions tagged [rancher]
The rancher tag has no usage guidance.
27
questions
3
votes
0
answers
1k
views
k3s without HA: how to switch master node?
Rancher documentation on k3s is quite nice and its HA support (both with external DB or embedded etcd) look nice, but I don't want/need an HA setup.
In case my master node fails, I don't mind having ...
2
votes
1
answer
3k
views
Rancher x509 Certificate Expired yet not
When running kubectl, I get the error
Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2021-10-05T11:59:14-04:00 is after 2021-09-29T19:21:40Z
So ...
2
votes
0
answers
1k
views
Find out specific Rancher RKE K8s image versions
I am wondering where I can find which containers versions will be deployed when I install a K8s Cluster with the following version combinations:
https://github.com/rancher/rancher/releases/tag/v2.6.4
...
1
vote
1
answer
95
views
Issues Adding Non-Hetzner Provider Nodes to Rancher Cluster: Stuck at "Waiting for agent to check in and apply initial plan"
I have successfully deployed a Rancher server on one out of five servers obtained from Hetzner. For the cluster configuration, I designated one of the remaining servers for the control plane and etcd ...
1
vote
1
answer
395
views
Create Rancher API Key with kubectl
Given access to the kubernetes cluster, but no API key, how can I programatically create a API key for rancher server?
The method described in documentation here requires a password login an a web ...
1
vote
0
answers
135
views
OpenSSL issue with Rancher/Kubernetes cluster on RHEL 8
So we are working on setting up a big Rancher/Kubernetes cluster on a bunch of RHEL 8 servers. We have everything installed and have Rancher running on a 3 node cluster behind a load balancer. The ...
1
vote
0
answers
1k
views
rke2 ingress-nginx default ssl certificate
I asked this here yesterday.
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 ...
1
vote
0
answers
131
views
Controlling Egress calls of kubernetes pods based on intermediate host file
Can I modify and use /etc/host.allow file or something similar to restrict the outgoing (egress) calls from my kubernetes pods. If there is intermediate lookup happening while making an egress call ...
1
vote
0
answers
240
views
Coredns ACL plugin for restricting domain from Kubernetes Pod
How can I use use coredns acl plugin for the domain based access [blocking/allowing] the egress calls ? As per my use case I want to control the outgoing calls from my pod.
something like this :
. {
...
0
votes
2
answers
2k
views
Metrics-server is in CrashLoopBackOff with NEW install by rke
I have installed at least 10 times last one days, but its same every time
Everything runs fine but metrics-server is in CrashLoopBackOff
what I understand below section are missing from the pods ...
0
votes
1
answer
980
views
How can you update the password for an AWS ECR repo in Kubernetes?
I created a private docker registry using AWS ECR. I want to use it with a Kubernetes cluster managed by Rancher, but the password to the registry is changed by AWS every 12 hours. How do I keep it ...
0
votes
0
answers
35
views
Is it possible to run Rancher on rke2 v1.28.10? If so, which version of nginx-ingress should be used?
I installed v1.28.10+rke2r1 and have three controlplane VMs and four worker node VMs. I wanted to see if Rancher (the web service gui) would work so I added the Rancher helm repo and ran helm install ...
0
votes
0
answers
42
views
Rancher with AWS LB controller fails health checks
I'm trying to launch Rancher with the AWS LB controller and i'm getting health checks failed for the ingress. Can someone please look at my set up and let me know if something that's obvious?
EKS ...
0
votes
0
answers
164
views
404 page not found rancher and k3s, how to resolve?
Step 1
Download k3s
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.26.11+k3s1 sh -s - server --write-kubeconfig-mode 666
Step 2
Install cert manager.
kubectl apply -f https://github.com/cert-...
0
votes
0
answers
461
views
RKE2 All nodes NotReady post installation. Pending canal and cordns
I installed rke2-server and rke2-agent on the control plane machine and worker node machine respectively. (machine-0 is the control-plane, machine-1 and 2 are worker nodes). These machines are ...
0
votes
0
answers
415
views
Struggling with a new Rancher HA RKE2 install, getting a "404 Not Found" page. How can I troubleshoot this?
I've never installed Rancher before, but I am attempting to set up a Rancher environment onto an on-prem HA RKE2 cluster. I have an F5 as the load balancer, and it is set up to handle ports 80, 443, ...
0
votes
0
answers
358
views
Rancher RKE2 Cert-manager's Vault issuer says "permission denied"
Does anyone know what's wrong with Rancher RKE2 clusters, please? I've hit strange problems during the deployment of Cert-manager with Vault issuer where Vault gets "permission denied" (or ...
0
votes
0
answers
530
views
RKE2 Worker won't connect to server: invalid username/password combination
I'm creating a rancher RKE2 cluster for the first time. I followed the quick start guide and created a server and a worker.
Both are Debian 12 Virtual machines on an ESXI hypervisor. Both VMs can ping ...
0
votes
1
answer
732
views
k3s fails to parse registries.yaml
I have set up a k3s Kubernetes standalone server with a insecure private registry but k3s fails to pull images from it.
The registries.yaml file is set as documentation says. It is below.
mirrors:
&...
0
votes
0
answers
307
views
Can't access Rancher UI after deploying it on K3S via helm
I deployed Rancher on K3S cluster using steps documented in below guide: https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/helm-cli
The pod is working ...
0
votes
0
answers
92
views
Device /dev/fuse for a container running Rancher in Mac
I'm trying to test in my corporate Mac runnning Ventura 13.5.2 the new container Oracle Autonomous Database
I'm running Rancher 1.10.0
I'm following the instructions in
https://github.com/oracle/adb-...
0
votes
0
answers
175
views
Establishing a Single Node K8 cluster utilizing Rancher
I'm new to the world of Kubernetes and I'm attempting to work my way through understanding its environment. I've been tasked with installing and spinning up a cluster on a single Ubuntu server.
The ...
0
votes
0
answers
185
views
How to add configuration for fluent-plugin-prometheus in Fluentd deployed via Fleet in Rancher?
I'm using Rancher to manage my Kubernetes cluster and have added a logging system (cattle-logging-system) via Fleet. I now need to add monitoring for Fluentd using the fluent-plugin-prometheus.
Here's ...
0
votes
0
answers
475
views
Ranchers cattle-cluster-agent-* pod log errors
When deploying rancher onto a downstream cluster the cattle-cluster-agent- pods appear and they show running. The issue is (1) when I try to access the cluster via the UI, the UI displayed " ...
0
votes
1
answer
99
views
Force deployment on Rancher when AWS CodeBuild produces a new container image
I have a Rancher 2.5 cluster running on AWS EKS. My CI is done in CodeBuild via a webhook to a Github repo. The buildspec.yml works fine to run the build, tag the containers and then send them to my ...
0
votes
1
answer
383
views
How to surface a docker-registry secret in Rancher?
I am using Rancher 2.5.8 to run Kubernetes clusters. In my org, we maintain a private docker registry on AWS ECR. I know I can create registry credentials within a project (for use in one or all ...
-1
votes
1
answer
267
views
What is the Path API for kubectl top pods
I use this command "kubectl top pods" using Kubectl command
I need path api for this command
I need return data from this command "kubectl top pods" via api