Top Banner
Containers #101 Online Meetup Sign up at www.codefresh.io Bare Minimum Developers Need to Know to Get Started with Kubernetes
12

Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Mar 21, 2017

Download

Technology

Codefresh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Containers #101 Online Meetup

Sign up at www.codefresh.io

Bare Minimum Developers Need to Know to Get Started with Kubernetes

Page 2: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

About myselfDeveloper & entrepreneur. Organizer of containers 101 meetupCEO & founder of Codefresh

Follow me @RazielTabib

Page 3: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

CodefreshCodefresh is a platform that builds, tests & deploys containers.

Sign up at www.codefresh.ioFollow us @codfresh

Page 4: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Kubernetes➢ Containers orchestration platform ➢ Automates the deployment and scaling of

containerized applications➢ Open source, designed by google

1500+ contributors

43,000+ commits

4000+ External project

200+ meetups

Page 5: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Agenda➢ Intro to K8s key objects➢ Demo application➢ Live demo

Resources● https://codefresh.io/blog/kubernetes-snowboarding-everything-intro-kubernetes/● https://github.com/containers101/demochat

Page 6: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Pods➢ Smallest deployable unit➢ Containers always run inside a Pod➢ A Pod usually has 1 containers but can

have more

Page 7: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Deployment➢ Bring up and recreate pods➢ Rollout and rollback changes

Page 8: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

ServicesExpose replicas of pods both internally and externally

Page 9: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

containers101/demochat mongo:latest

Demo application➢ 2 images

○ Web Server (containers101/demochat:2.0)○ Mongo (mongo:latest)

Resources● https://github.com/kubernetes/minikube/releases● https://kubernetes.io/docs/user-guide/prereqs/

Page 10: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Demo flow➢ Run mongo image using a deployment

○ A pod and deployment object will be created

➢ Create a service to expose the mongo pod○ A service will be created exposing internal IP for the mongo pod○ ‘Mongo’ will be discoverable internally

➢ Run the demochat web server image○ A pod and deployment object will be created

➢ Create a service to expose the web server pod○ A service will be created exposing internally & externally IP for the web

server pod○ Demo chat can be access from the browser

➢ Scale a web server○ Total of 2 pods running demochat will be running

Page 11: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Demo

Sign up at www.codefresh.io

Page 12: Webinar: Bare Minimum Developers Need to Know to Get Started with Kubernetes

Resources● Codefresh Blog

○ https://codefresh.io/blog● Getting started with K8s

○ https://codefresh.io/blog/kubernetes-snowboarding-everything-intro-kubernetes/

● Containers 101 meetup○ https://codefresh.io/meetups/

Sign up at www.codefresh.ioFollow us @codefresh