introducing kubernetes clusters in rancher - february 2016 online meetup

Post on 12-Jan-2017

4.444 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .

Introducing Kubernetes Environments in Rancher

February 25, 2016

#ranchermeetup

© 2015 Rancher Labs, Inc.2

Shannon WilliamsCo-Founder/VP Marketing @smw355

Darren ShepherdCo-Founder/Chief Architect @ibuildthecloudFreenode: darren0

#ranchermeetup

© 2015 Rancher Labs, Inc.3

First things first…

This is a not a !

#ranchermeetup

© 2015 Rancher Labs, Inc.4

There are rules for a meetup!• We won’t be done on time• Questions are always welcome• There are no bad questions• Demo, then demo some more• Things will break, be patient

#ranchermeetup

© 2015 Rancher Labs, Inc.5

Join the conversation on Twitter #ranchermeetup

© 2015 Rancher Labs, Inc.6

Agenda• Introducing Kubernetes Environments in Rancher – Shannon• Demo: Launching a Kubernetes Environment – Darren• Demo: Deploying an Application on Kubernetes – Darren• Latest Rancher Updates – Darren

#ranchermeetup

© 2015 Rancher Labs, Inc.7

Rancher Labs

#ranchermeetup

© 2015 Rancher Labs, Inc.8

Rancher OverviewRancher Catalog

AD/LDAP

Alerts/Events

Environment 1 Environment N…Network Services Storage Services

Container Orchestration and SchedulingUser Mgmt Ops Mgmt

#ranchermeetup

© 2015 Rancher Labs, Inc.

Introducing Kubernetes Environments in Rancher

#ranchermeetup

© 2015 Rancher Labs, Inc.10

KubernetesKubernetes is open source software for managing a cluster of servers and deploying applications.• Started by Google, but widely contributed to at

this point• Latest version is 1.2• Powerful app management concepts• First project contributed to the Cloud Native

Computing Foundation (CNCF)• Kubernetes.io

© 2015 Rancher Labs, Inc.11

Native Kubernetes support in Rancher

• Automated deployment of an unlimited number of Kubernetes clusters

• Control user access to Kubernetes clusters• Simple to use UI for Kubernetes• Supports cross zone, cloud or datacenter

deployments• Node provisioning through Docker Machine• Access Rancher services including:

- Multi-host Networking- Load Balancer- Application Catalog- Persistent Storage Services- Metadata Service

© 2015 Rancher Labs, Inc.12

Inside a Rancher Kubernetes Environment

Environment A

apiserver

etcd

scheduler

controller

kubelet

proxy

dns service

metadata service

network agent

system services

© 2015 Rancher Labs, Inc.13

• Pods are the smallest unit in Kubernetes

• Each pod is a group of tightly coupled containers and volumes

• Unique ID, allocated to a specific host.

• Rancher allocates a private IP on the rancher network to each pod

Kubernetes Pods

© 2015 Rancher Labs, Inc.14

• Replication Controllers define the number of copies of a pod that are launched.

• RCs are managed by the Kubernetes controller, which works with the scheduler to achieve the desired state.

Kubernetes Replication Controllers

© 2015 Rancher Labs, Inc.15

Inside a Rancher Kubernetes Environment

system services

Environment A

replication controller containerpods pods

containerapp2

containerpods pods pods

container containerreplication controllerapp1

© 2015 Rancher Labs, Inc.16

• Services in Kubernetes typically define a cluster IP for a group of pods

• Cluster IPs are on a separate subnet from the pod IPs.

Kubernetes Services

© 2015 Rancher Labs, Inc.17

Inside a Rancher Kubernetes Environment

system services

Environment A

replication controller containerpods pods

containerapp2

containerpods pods pods

container containerreplication controllerapp1

Pod IP10.42.x.x

Pod IP10.42.x.x

Pod IP10.42.x.x

Pod IP10.42.x.x

Pod IP10.42.x.x

Service IP10.43.x.x

service

service

Service IP10.43.x.x

© 2015 Rancher Labs, Inc.18

• Simple web access to Kubectl for running any Kubernetes commands.

• Leverage Rancher users and authentication to control access to Kubectl.

Full access to Kubectl

© 2015 Rancher Labs, Inc.19

Demo

#ranchermeetup

© 2015 Rancher Labs, Inc.

Latest Rancher Enhancements

20

0.56• Improved Rancher Managed Network• UI Enhancements• Health Check Action Strategies• Rancher Metadata Service Update

0.59• Support Retaining Container IP on container upgrade or

destroy• Added support for Docker 1.10• Split Rancher Catalog into Library & Community

#ranchermeetup

© 2015 Rancher Labs, Inc.21 #ranchermeetup

http://info.rancher.com/beta

© 2015 Rancher Labs, Inc.22

Getting StartedRancher and RancherOS are in GitHub – Get Involved, Join the Beta

#ranchermeetup

http://github.com/rancher

© 2015 Rancher Labs, Inc.23

New eBook: Building a CI/CD Pipeline with Docker & Rancher

http://info.rancher.com/cicd-with-docker-ebook

© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .

Thank yourancher.com

#ranchermeetup

top related