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
4
votes
2 answers

Rancher v3 Api Documentation not available

With the release of version 2.x of rancher we started using v3 of the Apis but to my despair there is no proper documentation for the apis. If we visit the Rancher Documentation Page https://rancher.com/docs/rancher/v2.x/en/api/ we just find the…
Shubhanshu Rastogi
  • 2,133
  • 1
  • 20
  • 30
4
votes
3 answers

Nginx.ingress.kubernetes.io/proxy-body-size not working

I want to increase size of post body of each request in Ingress. So I add the nginx.ingress.kubernetes.io/proxy-body-size: 8m in yaml file ingress(in view/edit yaml file of rancher) but it doesn’t work. When I get the describe of ingress with…
mohammad_1m2
  • 1,571
  • 5
  • 19
  • 38
4
votes
2 answers

Jenkins Slave JNLP connection gets terminated

Looking for some help here! I am running Jenkins(v2.134) as a docker container managed by Rancher(v1.6.16); and i am using haproxy(HA-Proxy version 1.6.3 2015/12/25) as my loadbalancer. Jenkins JNLP port is configured as 50000. haproxy got the rule…
Pankaj Saini
  • 1,493
  • 8
  • 13
4
votes
1 answer

Dropped WebSocket connection in Rancher's LoadBalancer

I have simple WebSocket connection from my browser to a service inside Rancher. I tried to connect to the service in 2 ways: 1) directly to the service: browser ---> service 2) via Rancher's Load Balancer: browser ---> Load Balancer --->…
Simon
  • 1,099
  • 1
  • 11
  • 29
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
4
votes
1 answer

Upgrade Rancher 2 workload from CLI

I have created a workload on Rancher. This workload created from an image which is hosted on a gitlab-ci project registry. I want to force rancher to download a new version of this image and upgrade workload. I want to do this from a .gitlab-ci.yml…
nidomo
  • 103
  • 2
  • 7
4
votes
0 answers

jenkins-docker cannot set the cloud credentials

I am trying to set up the jenkins-docker plugin to run using a Rancher system. To start a docker container requires using the rancher api and a username/password authentication. In the "Jenkins Configuration" page under the "cloud" section, there…
richard
  • 2,887
  • 5
  • 26
  • 36
4
votes
1 answer

Selecting a node size for a GKE kubernetes cluster

We are debating the best node size for our production GKE cluster. Is it better to have more smaller nodes or less larger nodes in general? e.g. we are choosing between the following two options 3 x n1-standard-2 (7.5GB 2vCPU) 2 x n1-standard-4…
AndrewMcLagan
  • 13,459
  • 23
  • 91
  • 158
4
votes
2 answers

GitlabCI build failed, docker.sock: write: broken pipe

I was trying to implement a new CI workflow using GitlabCI but now I can't understand the issue. I followed this doc and I choose the Docker socket binding method. Everything is running on the same machine, a RancherOS : $ uname -a Linux xxx…
Melwin Kieffer
  • 380
  • 4
  • 11
4
votes
1 answer

SSH failed when building RancherOS with Packer

I have an issue with Packer and RancherOS. I'm trying to build a custom rancherOS image with a cloud-config file. I'm working on MacOSX. I have this build.json file { "variables": { "vm_name" : "" }, "builders": [ { …
severin.julien
  • 1,314
  • 15
  • 27
4
votes
1 answer

Docker container restart without data loss

I am using Rancher as orchestration tool. I have a single node Cassandra installed in a container and would like to restart it, because of I have made some changes in configuration file(cassandra.yaml) recently. There is already data in database, so…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
4
votes
1 answer

How to expose docker container from Rancher's private network?

Let's say that I have a HAProxy load-balancer inside Rancher's private network. Now I'd like to expose it somehow to the world, so it could receive requests from somewhere else apart of other docker containers living next to it. If it was just a…
Andrej Urvantsev
  • 466
  • 4
  • 15
3
votes
3 answers

Running the container of Rancher in local Docker Desktop, but it is not accessible on localhost:80 or :443

I am new in Rancher. My purpose of using it is to manage a k8s cluster. I am using MacBook Pro with M2 chip. I would like to run Rancher container on my Docker Desktop environment. So, I followed the quick-start guide to spin up the Rancher…
user842225
  • 5,445
  • 15
  • 69
  • 119
3
votes
1 answer

How to increase docker memory limits with rancher desktop on MacOs?

I'm using rancher desktop for docker on mac os and trying to run multiple containers with docker-compose. When I run couple of them, everything is ok, but when I run all of them, at least one container always ends up with OOM error(usually it's…
3
votes
1 answer

resource mapping not found for name: "cattle-admin-binding" namespace: "cattle-system"

while I try to add my k8s cluster in azure vm, is shows error like error: resource mapping not found for name: "cattle-admin-binding" namespace: "cattle-system" from "STDIN": no matches for kind "ClusterRoleBinding" in version…
gokul
  • 41
  • 1
  • 3