Questions tagged [rke]

rke (Rancher Kubernetes Engine), an extremely simple, lightning fast Kubernetes installer that works everywhere.

Rancher Kubernetes Engine, an extremely simple, lightning fast Kubernetes installer that works everywhere

40 questions
5
votes
1 answer

rke kubernetes - node reboot

I have initialize a kubernetes cluster with rke (rke up). However when a node reboots, I have to execute rke up again to start kubelet and co. Is there a way these services start automatically on the node? Thanks for your help. I use rke…
matth3o
  • 2,069
  • 3
  • 13
  • 22
4
votes
2 answers

Why doesn't Terraform see my manually installed provider?

I'm trying to install the RKE provider as part of the Rancher AWS quickstart. The Terraform documentation says that plugins should be installed at ~/.terraform.d/plugins. The RKE documentation says that the plugin should be installed at…
David Bruce Borenstein
  • 1,323
  • 1
  • 13
  • 31
3
votes
3 answers

Rancher - How to expose my services publicly?

I have a running Rancher setup as the following: Host machine (running rancher/rancher container) on a public IP; Nodes in an exclusive network (10.1.1.0/24) not accessible from the Internet. My goal is to serve a web application using the Rancher…
3
votes
3 answers

How to fix ingress 404 default backend

I started to use Kubernetes few month ago and I actually migrate my microServices to my rancher cluster (RKE). Everything works good, my deployments are good and services too. I would like use ingress. Everything looks good, services are find by…
Antoine Godeau
  • 51
  • 1
  • 1
  • 3
2
votes
1 answer

Assign FQDN for Internal Services in a Private Kubernetes Cluster

I setup a private K8S cluster with RKE 1.2.2 and so my K8S version is 1.19. We have some internal services, and it is necessary to access each other using custom FQDN instead of simple service names. As I searched the web, the only solution I found…
Mehdi Bizhani
  • 21
  • 1
  • 5
2
votes
1 answer

rke Error: snapshot missing hash but --skip-hash-check=false

I'm trying to restore an etcd snapshot after a power outage but I'm getting the following error. FATA[0020] [etcd] Failed to restore etcd snapshot: Failed to run etcd restore container, exit status is: 128, container logs: Error: snapshot missing…
Will Jones
  • 25
  • 2
2
votes
2 answers

Kubernetes Nginx Ingress Controller on NodePort

I am deploying the nginx based ingress controller on Kubernetes cluster managed by RKE. ( I have also tried the same directly without RKE ). In both the cases , it tries to use/bind to Ports 80 , and 443 on the host, and it fails because in the pod…
Ijaz Ahmad Khan
  • 8,495
  • 5
  • 32
  • 59
2
votes
1 answer

Grafana dashboard doesn't display data in Rancher UI

I enabled monitoring for my project in Rancher UI, and it installed succesfully. But when I click "Go to grafana" at my workload (such as nginx), it moves to Grafana dashboard, but Grafana show nothing: 0 CPU, 0 memory, 0 networking ,... Why…
taibc
  • 775
  • 2
  • 8
  • 27
2
votes
1 answer

Can't access KubeAPI port in kubernetes + rancher

I have the following configuration to up the rke. when I up the rke. I get the error. rancher-cluster.yml nodes: - address: 192.168.88.246 internal_address: 172.17.0.1 user: dockeruser role: [controlplane,worker,etcd] - address:…
Zaw Than oo
  • 8,714
  • 11
  • 64
  • 116
2
votes
3 answers

how do I enable mount propagation in Rancher - Kubernetes feature gates?

How can I enable feature gates for my cluster in Rancher 2.0? I am in need of enabling the --feature-gates MountPropagation=true. This will enable me to use storage solutions like StorageOS, CephFS, etc There are 2 use cases here : If the Rancher…
damitj07
  • 2,083
  • 1
  • 15
  • 34
2
votes
1 answer

Kubernetes (1.10) mountPropagation: Bidirectional not working.

I'm creating a pod with a volumeMount set to mountPropagation: Bidirectional. When created, the container is mounting the volume with "Propagation": "rprivate". From the k8s docs I would expect mountPropagation: Bidirectional to result in a volume…
Will
  • 5,955
  • 3
  • 28
  • 41
1
vote
0 answers

Getting Unable to connect to the server: x509: certificate is valid for ingress.local, not rancher

As part of renewing our cluster certificate we have accidentally deleted our "tls-rancher-ingress secret" from local cluster, after that we are unable to access cluster through kubectl and getting error like "Getting Unable to connect to the server:…
1
vote
2 answers

No outbound networking on Kubernetes pods

I am running a one-node Kubernetes cluster in a VM for development and testing purposes. I used Rancher Kubernetes Engine (RKE, Kubernetes version 1.18) to deploy it and MetalLB to enable the LoadBalancer service type. Traefik is version 2.2,…
MadMonkey
  • 509
  • 1
  • 5
  • 12
1
vote
0 answers

rancher rke - cloud_provider AWS - kubelet fails on certificate error due to MITM proxy use

I'm using rke version 1.0.4 and I'm successfully deploying rancher-managed kubernetes clusters on custom nodes in AWS. I was not using the cloud_provider: aws. Now, I am trying to deploy the clusters with cloud_provider: aws enabled so that I can…
lapfrank
  • 11
  • 4
1
vote
0 answers

RKE - Unable to connect to the server: net/http: TLS handshake timeout

I have one CentOS vm (for install RKE) and 3 node installed rancherOS (vmware version from here for controlplane, etcd, and worker nodes) I get "Finished building Kubernetes cluster successfully" message but I'm getting error while write "kubectl…
1
2 3