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

71 questions
9
votes
3 answers

How to make Terraform provider dependent on a resource being created

I am trying to utilize Rancher Terraform provider to create a new RKE cluster and then use the Kubernetes and Helm Terraform providers to create/deploy resources to the created cluster. I'm using this…
6
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,655
  • 2
  • 19
  • 34
5
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…
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
  • 3,229
  • 3
  • 20
  • 24
4
votes
4 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
  • 61
  • 1
  • 1
  • 3
4
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,689
  • 1
  • 21
  • 40
3
votes
2 answers

rancher rke up errors on etcd host health checks remote error: tls: bad certificate

rke --debug up --config cluster.yml fails with health checks on etcd hosts with error: DEBU[0281] [etcd] failed to check health for etcd host [x.x.x.x]: failed to get /health for host [x.x.x.x]: Get "https://x.x.x.x:2379/health": remote error: tls:…
arnittocrab
  • 49
  • 1
  • 5
3
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
  • 11,198
  • 9
  • 53
  • 73
2
votes
0 answers

ansible delegate_to causes local tasks to hang

Edit: this seems to impact any task that I add the prefix_to property to, instead of just the uri module. Edit 2: Rounding it down - removing become: yes fixes it in the test playbook I made. The actual playbook requires super user privileges, so it…
Ben S
  • 95
  • 1
  • 7
2
votes
2 answers

Cant access pod of another Node

I install a 3 node Kubernetes Cluster with RKE tool. The installation was successful with no errors but I'm unable to ping from one pod to another pod. If I ping a pod running on worker2 node(NODE-IP-10.222.22.47) I get a response, but no responses…
virajatt
  • 73
  • 1
  • 11
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
  • 35
  • 2
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
  • 897
  • 2
  • 15
  • 39
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
  • 9,651
  • 13
  • 83
  • 131
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
  • 6,561
  • 3
  • 30
  • 41
1
2 3 4 5