Questions tagged [rancher]

Rancher is an open source project that provides a complete platform for operating Docker in production.

Rancher is an open source project that provides a complete platform for operating Docker in production. It provides infrastructure services such as multi-host networking, global and local load balancing, and volume snapshots. It integrates native Docker management capabilities such as Docker Machine and Docker Swarm. It offers a rich user experience that enables devops admins to operate Docker in production at large scale.

https://github.com/rancherio/rancher

962 questions
5
votes
1 answer

Calico pod Readiness probe and Liveness probe always failed in Kubernetes1.15.4

I hit the issue after I had upgraded rancher from v2.2.8 to v2.3. The cluster was deployed by using rke v0.3.0 . The first issue I got was Readiness probe failed: HTTP probe failed with statuscode: 503 the logs below and there is an issue…
Aisuko
  • 193
  • 1
  • 11
5
votes
1 answer

How to pass Docker CLI `--gpus` Options in Kubernetes or enable GPU support without installing `nvidia-docker2` (Docker 19.03)

I'm currently using Docker 19.03 and Kubernetes 1.13.5 and Rancher 2.2.4. Since 19.03, Docker has officially support natively NVIDIA GPUs just by passing --gpus option. Example (from NVIDIA/nvidia-docker github): docker run --gpus all nvidia/cuda…
5
votes
1 answer

Kubernetes / Rancher 2, mongo-replicaset with Local Storage Volume deployment

I try, I try, but Rancher 2.1 fails to deploy the "mongo-replicaset" Catalog App, with Local Persistent Volumes configured. How to correctly deploy a mongo-replicaset with Local Storage Volume? Any debugging techniques appreciated since I am new to…
Slim
  • 1,256
  • 1
  • 13
  • 25
5
votes
1 answer

Links between containers are not working in my Rancher 1.6.21 stack

I am using Rancher 1.6.21 (env: default Cattle) with Docker 18.06.1-ce and my problem is that in the same stack the links are not working so services cannot communicate. I tried installing a Docker Registry stack from the Rancher Catalog and I am…
hypnus
  • 111
  • 1
  • 1
  • 9
5
votes
1 answer

How to integrate Kubernetes with Gitlab

I'm trying to integrate Kubernetes cluster with Gitlab for using the Gitlab Review Apps feature. Kubernetes cluster is created via Rancher 1.6 Running the kubectl get all from the kubernetes shell gives NAME TYPE CLUSTER-IP …
Kartik Rokde
  • 3,633
  • 8
  • 27
  • 33
5
votes
0 answers

Kubernetes: How to let Rancher Ingress LB listen to different IP address (not port)

I experiment with Rancher Server on a RancherOS host which has multiple NIC interfaces / IP adresses: eth0 - 10.30.0.231, used by Rancher Server (Rancher API is running on 10.30.0.231:8080) Rancher Agent (on the same host, since it is a test…
FlexArts
  • 91
  • 7
5
votes
3 answers

Why Prometheus pod pending after setup it by helm in Kubernetes cluster on Rancher server?

Installed Rancher server and 2 Rancher agents in Vagrant. Then switch to K8S environment from Rancher server. On Rancher server host, installed kubectl and helm. Then installed Prometheus by Helm: helm install stable/prometheus Now check the status…
online
  • 4,919
  • 10
  • 32
  • 47
5
votes
0 answers

How is Kubernetes API setup within Rancher

As a proof of concept we are trying Kubernetes with Rancher. Currently we have in total 10 machines for the environment. 3 machines for ETCD (labels: etcd=true) 3 machines for API (labels: orchestration=true ) 4 machines as K8S worker nodes…
Veselin Hristov
  • 147
  • 2
  • 9
5
votes
1 answer

how to add a container to service in stack via rancher REST api

I'm trying to create and add a container to an already existing service in rancher using the rancher REST api. I would expect that the following request would create a container and add it to the atlas-mosquitto stack and the mosquitto service (see…
mrabin
  • 662
  • 10
  • 19
5
votes
1 answer

Difference between Rancher and other container orchestration

I read on Rancher Official Page Rancher is an open source software platform that enables organizations to run containers in production. With Rancher, organizations no longer have to build a container services platform from scratch using a …
Trần Kim Dự
  • 5,872
  • 12
  • 55
  • 107
5
votes
1 answer

Auto-provision new hosts with docker swarm

How can you automatically provision new machines when docker swarm detects there are not enough resources to schedule all services? I use a setup with rancher and the docker swarm scheduler, and if there are not enough resources, the service…
Yogu
  • 9,165
  • 5
  • 37
  • 58
5
votes
1 answer

How to set up a volume linked to S3 in Docker Cloud with AWS?

I'm running my Play! webapp with Docker Cloud (could also use Rancher) and AWS and I'd like to store all the logs in S3 (via volume). Any ideas on how I could achieve that with minimal effort?
radek1st
  • 1,617
  • 17
  • 19
5
votes
2 answers

"Job for system-cloudinit@-var-tmp-hostname.yml.service failed because a configured resource limit was exceeded"

I am starting using Rancher and Vagrant to create my local environment for development. Steps that I've done: I already had VirtualBox installed. I download and installed the Vagrant package for linux with sudo rpm -i vagrant_1.7.2_x86_64.rpm…
eduartua
  • 475
  • 1
  • 3
  • 11
4
votes
5 answers

testContainers and Rancher

I have a Spring Boot application with integration tests that are using testContainers. Till recently, I used Docker Desktop and was able to easily run the test from within Intellij or from CLI. Recently I changed my Windows machine to Rancher…
riorio
  • 6,500
  • 7
  • 47
  • 100
4
votes
1 answer

Rancher desktop is asking system permission on each startup

I installed Rancher desktop in order to look for an alternative to Docker Desktop. While starting Rancher Desktop it always asks for permission as follows Rancher Desktop needs root access to configure its internal network by populating the…
Akshay Vijay Jain
  • 13,461
  • 8
  • 60
  • 73