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

695 questions
65
votes
3 answers

How is rancher different from Kubernetes

I have been trying to wrap my head around how Rancher (or DC/OS) is different from Kubernetes. Both of them say they are Container management tools. Why we do we need both? How are they different?
sam
  • 1,230
  • 2
  • 11
  • 20
55
votes
4 answers

docker-compose, run a script after container has started?

I have a service that I am bringing up through Rancher via docker-compose. The issue I am running into is that I need to set a password after the container has been deployed. The way rancher secrets work, is that I set my secret in and rancher will…
Blooze
  • 797
  • 3
  • 11
  • 18
20
votes
2 answers

How to list exposed port of all containers?

We have lots of containers started using Rancher with each container exposing multiple ports. Since we started the containers with Rancher, no port is exposed to the host by default. $ docker container ls shows no exposed ports for containers…
WeSee
  • 2,032
  • 1
  • 18
  • 42
17
votes
2 answers

Difference between NodePort, HostPort and Cluster IP

Rancher 2 provides 4 options in the "Ports" section when deploying a new workload: NodePort HostPort Cluster IP Layer-4 Load Balancer What are the differences? Especially between NodePort, HostPort and Cluster IP?
zarathustra
  • 1,468
  • 3
  • 14
  • 30
15
votes
4 answers

Rancher with cattle vs Rancher with Kubernetes vs Standalone Kubernetes

I'm trying to dig into Rancher, and was wondering if having Rancher plugged in with Kubernetes has any additional benefits over Cattle which is Rancher's in home orchestration framework. So far, I haven't been able to figure out why someone would…
Vinod Kumar Rai
  • 264
  • 1
  • 4
  • 23
11
votes
2 answers

Rancher template - Hadoop Illegal character in host-name

We use rancher template for hadoop+yarn, but it seems that hadoop is unable to deal with using container names as hostnames (eg. hadoop_namenode-primary_1). Caused by: java.net.URISyntaxException: Illegal character in hostname at index 13:…
Jendas
  • 3,054
  • 1
  • 22
  • 50
8
votes
1 answer

smtp timeout from python client in rancher container

I have a weird issue with no ideas what could be wrong, so maybe writing it here can help me come up with ideas. Or someone can help me :) I have a Django site running in rancher and for past few weeks I noticed emails are not working. Timeout error…
Lucas03
  • 1,994
  • 2
  • 28
  • 56
8
votes
3 answers

How to launch an app via Docker on every Pull Request?

I run Jenkins and my app is dockerized, i.e. when I run the container it exposes port 3000 and I can point my browser there. On every Github PR I would like to deploy that git commit to a running container somewhere and have Jenkins post back to the…
tesserakt
  • 2,739
  • 4
  • 23
  • 38
8
votes
1 answer

What is a sidekick container?

When creating a new service, one can add "sidekick containers" to it. What is a sidekick container? And how does it differ from a "normal" service container?
helt
  • 3,563
  • 3
  • 26
  • 42
8
votes
1 answer

Rancher & Docker Failed to get ping from agent

I am facing another issue with Rancher & Docker. I've installed the Rancher Server and then, in another server, a Rancher Agent using the command provided from Rancher Server. I can see the node in the host section but every 5 minutes rancher…
devops85
  • 201
  • 1
  • 9
7
votes
1 answer

How do I configure my DNS to work with Rancher 2.0 ingress?

I'm new to Kubernetes and Rancher, but have a cluster setup and a workload deployed. I'm looking at setting up an ingress, but am confused by what my DNS should look like. I'll keep it simple: I have a domain (example.com) and I want to be able to…
Steadman
  • 518
  • 3
  • 12
7
votes
1 answer

Rancher v1.3.1 Kubernetes Dashboard not working

I try to install Rancher v1.3.1 and enable Kubernetes Environment, the install seem OK but when i navigate to Dashboard but result is blank page, i check 2 deployment :kubernetes-dashboard and tiller-deploy restart every time with log: Error while…
6
votes
2 answers

Helm error : Error: the server has asked for the client to provide credentials

I have installed Rancher 2 and created a kubernetes cluster of internal vm's ( no AWS / gcloud). The cluster is up and running. I logged into one of the nodes. 1) Installed Kubectl and executed kubectl cluster-info . It listed my cluster…
VVP
  • 606
  • 3
  • 9
  • 32
6
votes
3 answers

Letting only one elasticsearch pod come up on a node in Kubernetes

We have a multi-node setup of our product where we need to deploy multiple Elasticsearch pods. As all these are data nodes and have volume mounts for persistent storage, we don't want to bring two pods up on the same node. I'm trying to use the…
Bitswazsky
  • 2,468
  • 2
  • 21
  • 39
6
votes
5 answers

MountVolume.SetUp failed for volume "mongo" : hostPath type check failed: /mongo/data is not a directory

I'm trying to configure a hostPath to launch Mongodb pod. I have only one node of kubernetes v1.8.5 installed with rancher last stable version. I have create folder /mongo/data and allow all permissions to all users. I'm able to run docker image…
TlmaK0
  • 2,501
  • 1
  • 23
  • 43
1
2 3
46 47