Questions tagged [rancher-2]
18 questions
5
votes
1 answer
k8s nginx ingress returns randomly 502 error on load
we are using an nginx (1.15.8.1) as ingress controller on our k8s cluster (v.1.17), managed by rancher (2.5.7).
This worked pretty fine so far, but now we set up a custom API pod that can be externally accessed via ingress.
Now, doing some load…
michafn
- 71
- 1
- 2
- 4
3
votes
1 answer
Kubernetes + Rancher: multiple VLANs
I intend to deploy a k8s + Rancher cluster on my local network, but my environment has several VLANs, with pfsense acting as a firewal and router between such VLANs.
My cluster resides in XCP-NG as a hypervisor and I will inform the VLANs that it…
user562397
- 31
1
vote
1 answer
Kubernetes cluster with incorrect DNS resolution
Question Description:
I have a harvester HCI Cluster (RKE2), where pods do not resolve the correct IP addresses for internet domains.
kubectl run debug --image=busybox -i --tty --rm -- sh
/ # ping serverfault.com
PING serverfault.com (
d_inevitable
- 259
1
vote
1 answer
Pgadmin4 cannot start in Kubernetes
I have set up Postgres in Kubernetes (k3s administered with Rancher) which seems to be working fine but in order to take a look at the databases I tried to add a pgadmin4 pod.
I first tried adding the image dpage/pgadmin4 without any additional…
Taxel
- 111
- 5
1
vote
0 answers
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 imported the TLS certificate into a secret
I created…
crowne
- 115
1
vote
1 answer
CreateContainerError: context deadline exceeded
For a project, I must use big containers (500Mb to 60Gb).
I don't have a precise measurement but when I run containers larger than 3-5Gb with gitlab-runner, I get an error in rancher: CreateContainerError: context deadline exceeded
Our kubernetes…
Oyabi
- 133
1
vote
1 answer
Rancher on K8s (not helm) permission issues
I'm trying to teach myself K8s and am running into some issues that I've been unsuccessfully googleing / stack searching. I'm trying to setup Rancher without using helm. Here's my deployment manifest:
apiVersion: apps/v1
kind: Deployment
metadata:
…
Chris Satola
- 422
1
vote
0 answers
CoreDNS request does timeout (kubernetes / rancher)
I am trying to install mongodb-replicaset helmchart available on Rancher2 (well it's mostly a k8s problem imho).
The service is named mongodb-replicaset in the namespace mongodb-replicaset.
On init, the bootstrap container is stuck waiting for…
Michaël
- 11
0
votes
1 answer
Rancher 2.0.4 multipleIP on worker
I setup multiple IPs on host with working node for rancher 2
Host is pingable from outside world on each of this IP. But not doesn't see this IP and if I configure hostport to IP:port format, I get still connection to base IP of this node. If start…
0
votes
1 answer
Failing to Install CSI and CPI drivers in Rancher cluster
I'm working with a Rancher-managed Kubernetes cluster consisting of Linux nodes, all of which are in the "Running" state. I'm trying to install the Cloud Provider Interface (CPI) and Container Storage Interface (CSI) drivers through UI. The…
Riyo
- 1
0
votes
0 answers
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 each other.
When I try systemctl start…
0
votes
0 answers
Cannot add cluster configuration for ArgoCD for Rancher kubernetes cluster
I have tried to add a Rancher kubernetes cluster in ArgoCD, but I get the following error from the ArgoCD CLI:
./argocd-linux-amd64 cluster add test01 --server=localhost:8080 --insecure
WARNING: This will create a service account `argocd-manager` on…
Ronny Forberger
- 129
0
votes
2 answers
Outgoing http calls fail randomly - no route to host
A while ago a strange problem occurred in our kubernetes cluster. We have a network containing windows servers (webserver, mailserver, etc.) and a kubernetes cluster running Rancher v2.6.0.
The cluster is communicating with the windows server via…
mboldt
- 101
0
votes
1 answer
Rancher on k8s gives 404 page not found
I installed a kubernetes cluster with k3sup on a VM on my local hypervisor and the pods are up and running. Now I wanted to add a deployment with rancher in its latest version (2.6) to manage another cluster according to this guide. But the DNS and…
RUFmord
- 19
0
votes
0 answers
Nginx reverse proxy behind loadbalancer stop working after few hours
In my environment in rancher I use built in ingress load balancer to route trafic to custom nginx, which acts like reverse proxy for 2 "apps". In condition i choose which server I want to proxy. Everything works fine, but after random time…
l2ysho
- 101