A Guide To Kubernetes With Rancher
A Guide To Kubernetes With Rancher
A Guide To Kubernetes With Rancher
Kubernetes with
Rancher
WRANGLING KUBERNETES WITH RANCHER TABLE OF CONTENTS
Table of Contents
INTRODUCTION
Congratulations on starting your journey with Linux containers! Your team has astutely chosen the development and deployment
framework that provides application portability, agility, and scalability. Installing Docker was the start of your container
journey. Now, you’re ready to deploy your container-based application at scale with Kubernetes. At this point you’re faced with a
bewildering array of software vendors, cloud providers, and open source projects that all promise painless, successful Kubernetes
deployments. How do you decide where to go from here?
Just as Docker is the best first step in developing container-based applications, Rancher Labs is your logical partner in deploying
at scale. While you might not need planetary-scale deployment today, you and your DevOps team can rest assured that when you
hit that milestone, Rancher has the capabilities to handle the largest clusters across all flavors of Kubernetes: from on-premises to
hybrid and from a single public cloud to multi-cloud deployments within independent providers.
More importantly, as your partner on this journey, Rancher Labs holds true to the open source roots of containers. We don’t
subscribe to the dual-class freemium model. Rancher is truly open source, with full capabilities available to everyone. Only
Rancher provides a residue-free uninstall that leaves your existing Kubernetes infrastructure up and running with no ghosts in the
machines. We’ll be there for you when you need us but can disappear if you decide you don’t. When you change your mind, a simple
reinstall gets us back in, seamlessly supporting you as if we never left.
This paper introduces Rancher’s philosophy and capabilities and explains how Rancher partners with thousands of users to provide
them with the best container management experience. In it we share more about the journey to large-scale container deployment
and the key requirements for multi-cluster management. At the end we wrap up with concrete steps on how to get started using
Kubernetes with Rancher.
JANUARY 2019 1
A GUIDE TO KUBERNETES WITH RANCHER
On the subject of platform types, if you have yet to make a decision on where to run Kubernetes, there are three initial options
based on your business requirements:
A. Deploy on a hosted Kubernetes provider like Google Kubernetes Engine (GKE), Amazon Elastic Container Service
for Kubernetes (EKS) or Azure Kubernetes Service (AKS).
B. Install, run, and manage Kubernetes on an IaaS platform such as Amazon EC2, Azure, Google Cloud or
DigitalOcean.
C. Install, run, and manage Kubernetes on infrastructure you own, either on bare metal or on a private cloud solution
like VMware.
The latter two options require installation and configuration of Kubernetes. You may have seen Google’s Kelsey Hightower explain
the steps involved in his well-known tutorial—Kubernetes, the Hard Way. If so, you have an appreciation of the difficulties involved.
While there are scripts and automation tools like kops, kubo and kubespray, some are limited in their support of different platforms,
and none provide post-installation cluster management. Rancher provides a streamlined installation that minimizes complexity,
providing a consistent way to install Kubernetes on any platform. Plus, it provides cluster management, at scale.
JANUARY 2019 2
A GUIDE TO KUBERNETES WITH RANCHER
Even if you’re using a solution that delivers a pre-built Kubernetes cluster, there are significant benefits to using Rancher. It
integrates seamlessly into the management infrastructure of GKE, EKS, and AKS and gives you full control of cloud resources.
Instead of having to learn three different interfaces, Rancher provides a common and consistent view of each of these hosted
services with a single pane of glass for accessing and interacting with them.
Rancher provisions and installs Kubernetes on racks of bare metal servers and
Bare Metal Servers
delivers a scalable container infrastructure without the overhead of virtualization.
Rancher provisions compute instances, installs Kubernetes onto them, and then
EC2, Azure, GCE, Digital Ocean manages the full lifecycle of all resources. This allows you to benefit from an IaaS
platform while running a Kubernetes-managed container cluster.
For those who have already deployed Kubernetes, existing clusters can be folded into Rancher’s management framework. For
instance, if your development team has a cluster running on GKE, you can install Rancher and import the existing GKE cluster.
Likewise, moving from one provider to another is as easy as creating a new cluster at the new provider with Rancher and migrating
workloads from the existing cluster. Since all the configuration of resources, such as security, policies, etc., exist within Rancher,
these resources can be easily spun up elsewhere and a simple DNS update completes the application migration.
Rancher also provides the complete set of tools required to manage all aspects of the application lifecycle on the platform.
Regardless of which Kubernetes cluster type Rancher manages, it can tie into in-house components like Microsoft’s Active
Directory, provide enterprise-level monitoring, visibility and troubleshooting, and integrate seamlessly with CI/CD pipelines.
JANUARY 2019 3
A GUIDE TO KUBERNETES WITH RANCHER
Most DevOps teams would agree that the benefits of a true multi-cloud, multi-cluster platform are quite compelling. Fortunately,
Rancher provides multi-cloud and multi-cluster Kubernetes management from a single console, all while maintaining the same
development environment and workflow for the application development team. In addition, as an enterprise-grade solution,
Rancher provides other capabilities:
• Agnosticism: a true multi-cluster system should be able to manage any Kubernetes-based platform in both
private and public clouds. Rancher integrates with a wide breadth of platforms and does so while providing the
consistency of a single front-end interface.
• Seamless hybrid cloud support: while many development teams favor the use of public cloud infrastructure to
run their containers, enterprises in regulated industries or those that face data jurisdiction issues might need
to depend on private clouds. Rancher supports public clouds but also excels at deploying natively on a private
cloud, either on bare metal or on an enterprise VM foundation like VMware’s vSphere. It also supports airgap
installations and edge deployments.
• Centralized policies: a multi-cluster solution needs to allow for centralized configuration of policies that can
be pushed and enforced across each Kubernetes cluster. For example, a specific network policy that governs
connectivity between individual services in a three-tier web application can be created once on Rancher and
pushed across AKS, EKS, and GKE without having to be reconfigured in each Kubernetes silo.
• Centralized RBAC and identity management: most enterprises have identity and roles stored within Microsoft
Active Directory (AD) and LDAP. Native Kubernetes is not particularly strong in its support of identity and roles.
However, Rancher can integrate with AD, LDAP, SAML, OpenID, and other services and leverage those same
enterprise identities and roles for permission and access control across all clusters.
• Centralized visibility and troubleshooting: logging into each Kubernetes cluster to learn the status of the pods
and to work through alerts silo-by-silo is inefficient and likely to result in overlooking potential infrastructure
issues. A multi-cluster-aware solution like Rancher can unify visibility across all clusters and present them
through a unified interface.
These features are central to Rancher’s value to the enterprise, but Rancher’s capabilities extend much further than this. Rancher
also includes public and private application catalogs with Helm support, as well as integrated Prometheus monitoring with alerts,
full audit logging, and log shipping to a variety of endpoints.
JANUARY 2019 4
A GUIDE TO KUBERNETES WITH RANCHER
JANUARY 2019 5
A GUIDE TO KUBERNETES WITH RANCHER
If you would like support, talk to us. We sustain our development through support contracts from our customers. Engage us to
make your life easier and support the ongoing development of the best solution for container management.
To get you going, we’ll wrap up with pointers to Rancher resources that can provide answers to your remaining questions and a
quick-start page to get going. There really are no strings attached to choosing Rancher as your companion on this journey; no long-
term commitment and zero cost. So, let’s get started!
JANUARY 2019 6
WRANGLING KUBERNETES WITH RANCHER Rancher Resources for Getting Started
Getting started:
https://rancher.com/quick-start/
JANUARY 2019 7