Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 615
sam Avatar asked Sep 21 '16 05:09

sam


People also ask

Is Rancher a Kubernetes?

Rancher unites Kubernetes clusters with centralized authentication and access control, enterprise security, auditing, backups, upgrades, observability and alerts. Deploy and secure clusters consistently in minutes anywhere using our intuitive UI or powerful CLI.

Do I need Kubernetes for Rancher?

You don't need to figure Kubernetes out all on your own. Rancher is open source software, with an enormous community of users.

Is Rancher good for Kubernetes?

Rancher adds a complete UI and workload management layer to Kubernetes, that simplifies adoption and integrates CI/CD as well as key open source projects such as Prometheus, Grafana and Fluentd. Rancher makes it easy for users to deploy services on Kubernetes and get visibility into everything running on a cluster.


1 Answers

Author's note

This question was originally posted 3 years ago. Since then the technology landscape has moved on.

For example Mesosphere, the company behind DCOS has renamed itself and refocused it's efforts on Kubernetes. Similarily Rancher positioned itself as a Kubernetes installation and management layer.

If this issue is still a puzzle I'd suggest posing new question.


Original answer

Rancher is a neat tool that is best described as a deployment tool for Kubernetes that additionally has integrated itself to provide networking and load balancing support.

Rancher initially created it's own framework, called Cattle, to coordinate docker containers across multiple hosts. At that time Docker was limited to running on a single host. Rancher offered an interesting solution to this problem by providing networking between hosts, something that was eventually to become part of Docker Swarm.

Now Rancher enables users to deploy a choice of Cattle, Docker Swarm, Apache Mesos (upstream project for DCOS) or Kubernetes to manage your containers.


Response to jdc0589

You're quite correct. To the container user Kubernetes abstracts away the underlying implementation details of compute, networking and storage. It's in the setup of this underlying detail where Rancher helps. Rancher's networking provides a consistent solution across a variety of platforms. I have found it particularly useful when running on bare metal or standard (non cloud) virtual servers.

If you're only using AWS, I would use kops and take advantage the native integration you've mentioned.

While I'm k8s fixated, it must be acknowledged that Rancher also allows the easy install of other frameworks (Swarm and Mesos). I recommend trying it out, if only to understand why you don't need it.

  • http://docs.rancher.com/rancher/v1.5/en/quick-start-guide/
  • http://docs.rancher.com/rancher/v1.5/en/kubernetes/

Update 2017-10-11

Rancher have announced a preview of Rancher 2.0. The new answer to your question is that soon Rancher will be an admin UI and set of additional services designed to be deployed on top of Kubernetes.

like image 142
Mark O'Connor Avatar answered Sep 19 '22 14:09

Mark O'Connor