Questions tagged [rancher]

32 questions
24
votes
2 answers

error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied

When I run commands under k3s kubectl, I get $ k3s kubectl version WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions error: error loading config file…
Evan Carroll
  • 2,921
  • 6
  • 37
  • 85
21
votes
1 answer

What functional differences are there between kubernetes, rancher and mesos?

What are the main feature differences the popular container orchestration tools kubernetes, rancher, and mesos? What would lead you to choose one over the other?
tayworm
  • 670
  • 3
  • 8
14
votes
2 answers

How do I automate deployments with Kubernetes?

Assuming I have Kubernetes deployed via Rancher and Jenkins is building new images and pushing them to DockerHub upon check-in of new code to GitHub, how do I automate getting new images deployed? Another way to ask the question might be, “I used to…
Greg
  • 141
  • 2
4
votes
2 answers

Kubernetes on k3s can't resolve domains from custom dns server (fritz.box with dnsmasq)

I have a dns server running at 192.168.0.19 for custom domains like .fritz.box. Having a single node cluster on k3s, Rancher was installed using a subdomain server2.fritz.box using this command: helm install rancher-latest/rancher \ …
Lion
  • 191
  • 2
  • 2
  • 7
3
votes
0 answers

Rancher Pipeline: How to pass environment variables from one stage to another

Currently I am trying to move our existing build infrastructure to Rancher with its CICD pipelines. My main question is: Is it possible to pass environment variables from one stage to another? Our application is Java / Spring based (so there is a…
MischCon
  • 31
  • 2
3
votes
0 answers

After deployment, one Rancher load balanced RESTful app instance returns 404 while other returns results

I have setup a CI/CD pipeline which triggers builds, packages, and deploys tasks that execute on Gitlab online whenever a Spring boot RESTful service app is checked in. The three stages and tasks run successfully but whenever I test the app by…
sage
  • 179
  • 3
2
votes
1 answer

"Error: forwarding ports: Upgrade request required" Error in helm of a kubernetes cluster

I have a kubernetes cluster built using kubespray and imported to Rancher. The nodes are configured with CentOS Linux 7 3.10.0-957.12.1.el7.x86_64 Docker version : 18.9.5 Kubelet version : v1.14.1 Tiller version : v2.14.1 ( got this version from…
AnjK
  • 121
  • 3
2
votes
1 answer

Rancher, Load Balancing and own domain

I have a question about rancher. I'm running my rancher on aws. I have created a new cluster with two nodes (workers) and I have deployed my docker images. Now I wanted to add Load Balancer, but I don't want to use xip.io domain but my own. I added…
Mariusz
  • 131
  • 1
2
votes
1 answer

What are the two project layouts offered by Rancher on installation?

During login after initial setup, Rancher CLI asks the following: Do you want to continue connecting (yes/no)? yes NUMBER CLUSTER NAME PROJECT ID PROJECT NAME PROJECT DESCRIPTION 1 xxx …
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
2
votes
1 answer

Rancher & gitlab-runner - is there a way to get the gitlab-runner to tell Rancher to start the CI test environment instead?

I’ve got an AWS gitlab instance successfully doing CI with gitlab-runners running under vagrant on my local dev machine. I’d like to move the runners off my machine and onto a standalone server... I’ve put Rancher on a box and can get the gitlab…
jaygooby
  • 131
  • 5
2
votes
0 answers

Which volume solutions are the most convenient when building Docker & microservices based application?

My application consists of few microservices and web (React) frontend. Basically I have auth microservice, application backend service, various data processing services and frontend rendering server. These are all based on Node.js and are…
Kunok
  • 121
  • 4
2
votes
1 answer

Measure service unavailability during upgrade

I am deploying a microservices - based application using an orchestrator (Rancher specifically). During the service upgrade (when new images are being pulled and services re-discover one another), there is a small service outage. What is the best /…
pkaramol
  • 1,007
  • 2
  • 8
  • 13
2
votes
1 answer

Unable to connect to the server: tls: failed to verify certificate: x509: certificate signed by unknown authority

I am facing issue when trying to import k8s cluster in Rancher. here are the logs of when trying to run the commands: Commnad: curl --insecure -sfL…
2
votes
1 answer

Why is the K8s UI not available when rancher is used?

K8s has been created using rancher, but when one would like to access the UI it shows: Service unavailable Methods Method 1 rancher was deployed locally using vagrant k8s was deployed click the ui button Method 2 perhaps the local firewall was…
030
  • 13,383
  • 17
  • 76
  • 178
1
vote
1 answer

Migrate Rancher host from server to server

I have 4 Rancher servers: one for each environment: dev, sandbox, staging & prod. 3 of them are of an older Rancher 1.4 version (sandbox, staging, prod) & are hosted on OVH hosting, the one left (dev) is on thr latest 1.6.14 & AWS. I need to move 3…
1
2 3