More Related Content Similar to Introducing Kubernetes Clusters in Rancher - February 2016 Online Meetup (20) Introducing Kubernetes Clusters in Rancher - February 2016 Online Meetup1. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Introducing Kubernetes Environments
in Rancher
February 25, 2016
#ranchermeetup
2. © 2015 Rancher Labs, Inc.
Shannon Williams
Co-Founder/VP Marketing
@smw355
1
Darren Shepherd
Co-Founder/Chief Architect
@ibuildthecloud
Freenode: darren0
#ranchermeetup
3. © 2015 Rancher Labs, Inc.
First things first…
This is a not a !
2 #ranchermeetup
4. © 2015 Rancher Labs, Inc.3
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
5. © 2015 Rancher Labs, Inc.4
Join the conversation on Twitter
#ranchermeetup
6. © 2015 Rancher Labs, Inc.
Agenda
• Introducing Kubernetes Environments in Rancher – Shannon
• Demo: Launching a Kubernetes Environment – Darren
• Demo: Deploying an Application on Kubernetes – Darren
• Latest Rancher Updates – Darren
5 #ranchermeetup
8. © 2015 Rancher Labs, Inc.
Rancher Overview
7
Rancher Catalog
AD/LDAP
Alerts/Events
Environment 1 Environment N
…
Network Services Storage Services
Container Orchestration and Scheduling
User Mgmt Ops Mgmt
#ranchermeetup
9. © 2015 Rancher Labs, Inc.
Introducing
Kubernetes
Environments
in Rancher
#ranchermeetup
10. © 2015 Rancher Labs, Inc.
Kubernetes
Kubernetes 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
9
11. © 2015 Rancher Labs, Inc.
Native Kubernetes support in Rancher
10
• 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
12. © 2015 Rancher Labs, Inc.
Inside a Rancher Kubernetes
Environment
11
Environment A
apiserver
etcd
scheduler
controller
kubelet
proxy
dns service
metadata service
network agent
system services
13. © 2015 Rancher Labs, Inc.12
• 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
14. © 2015 Rancher Labs, Inc.13
• 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
15. © 2015 Rancher Labs, Inc.
Inside a Rancher Kubernetes
Environment
14
system services
Environment A
replication controller
container
pods pods
containerapp2
container
pods pods pods
container container
replication controllerapp1
16. © 2015 Rancher Labs, Inc.15
• 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
17. © 2015 Rancher Labs, Inc.
Inside a Rancher Kubernetes
Environment
16
system services
Environment A
replication controller
container
pods pods
containerapp2
container
pods pods pods
container container
replication controllerapp1
Pod IP
10.42.x.x
Pod IP
10.42.x.x
Pod IP
10.42.x.x
Pod IP
10.42.x.x
Pod IP
10.42.x.x
Service IP
10.43.x.x
service
service
Service IP
10.43.x.x
18. © 2015 Rancher Labs, Inc.17
• Simple web access to
Kubectl for running any
Kubernetes commands.
• Leverage Rancher users
and authentication to control
access to Kubectl.
Full access to Kubectl
20. © 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
19
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
21. © 2015 Rancher Labs, Inc.20 #ranchermeetup
http://info.rancher.com/beta
22. © 2015 Rancher Labs, Inc.
Getting Started
Rancher and RancherOS are in GitHub – Get Involved, Join the Beta
21 #ranchermeetup
http://github.com/rancher
23. © 2015 Rancher Labs, Inc.
New eBook: Building a CI/CD Pipeline
with Docker & Rancher
22
http://info.rancher.com/cicd-with-docker-ebook
24. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Thank you
rancher.com
#ranchermeetup