This presentation outlines how you can deploy and manage multiple Kubernetes clusters effectively using Rancher. We demonstrate how you can maintain multiple configurations of Kubernetes cluster with different stacks and configurations for storage, load balancing, Resiliency Planes etc.
9. CHALLENGES : KUBERNETES ONLY IMPLEMENTATIONS
• Creating a Kubernetes environment that is customized to DevOps needs
• Automating the deployment of multiple Kubernetes clusters
• Managing the health of Kubernetes clusters
• Automating the upgrade of Kubernetes clusters
• Deploying multiple clusters on premises or across disparate cloud providers
• Ensuring enterprise readiness, including access to 24×7 support
• Customizing then repeatedly deploying multiple combinations of infrastructure
services (e.g. storage, networking, DNS, load balancer)
• Deploying and automating upgrades for Kubernetes add-ons such as Dashboard,
Helm and Heapster
13. SETUP WITH DIGICAL OCEAN
• Use the promo code DOBCC. It will give you $15 worth of credits on DigitalOcean
platform. Please note the following:
• a) You can sign up for an account
@ https://cloud.digitalocean.com/registrations/new. The above promo code will
add credits only to new DigitalOcean accounts.
• b) Adding a payment option (credit/debit card or Paypal) is part of the sign up
workflow. To verify the authenticity of the card, sometimes the payment gateway
does an authorization charge of around $1 but this charge gets reversed
immediately after the card has been verified.
• c) Once the above promo code is applied, $15 in credits will be added to your
account which can be used for anything on the
19. RANCHER NETWORK SERVICES
VXLan (Overlay)
• Unencrypted traffic
between hosts
• Good if underlying network
is secure
• Faster Configurable MTU
IPSec (Overlay)
• Encrypted traffic between
hosts, MTU configurable
• Good for public clouds
• Relatively slow due to
encryption overhead
More plugins coming for
• Calico
• Weave etc.
Network Manager
• Interface to CNI plugin &
responds to add/remove
container events
• Takes care of part mapping
(Initial CNI did not have it)
Rancher DNS
• DNS Service within cluster,
communicates with
upstream DNS
• Provides service discovery
in cluster
Rancher - Metadata
• Metadata agent runs on all
hosts
• Provides Service Discovery
locally
Networking Under the hood
All three components are open source
29. OH, WAIT, WHAT IS HELM?
• Helm is a package manager for Kubernetes
• Tiller - Repo Server
• Chart - a package
• Helm is the client for Tiller
• Charts are in a repo (Typically some Git repo)
• A chart - is set of manifests
• The values can be defaulted to or overridden as input from user
• A chart is released as a release so that it can be tracked.