SlideShare a Scribd company logo
An introduction to Kubernetes
Sydney Docker Users Group
November 2015
Greg Markey
Infrastructure Engineer @ Optiver APAC
An introduction to k8 s.pptx
An introduction to k8 s.pptx
An introduction to k8 s.pptx
Pod
Pod
Replication Controller
Replication Controller
Service
Service
Labels and Selectors
k8s.io
slack.k8s.io
github.com/kubernetes

More Related Content

PDF
Introduction to kubernetes
PDF
What's new in kubernetes 1.3?
PPTX
Docker and kubernetes
PPTX
Introduction to Microservices with Docker and Kubernetes
PPTX
Kubernetes Introduction
PDF
An Introduction to Kubernetes
PPTX
Introduction to kubernetes
PDF
Kubernetes: An Introduction to the Open Source Container Orchestration Platform
Introduction to kubernetes
What's new in kubernetes 1.3?
Docker and kubernetes
Introduction to Microservices with Docker and Kubernetes
Kubernetes Introduction
An Introduction to Kubernetes
Introduction to kubernetes
Kubernetes: An Introduction to the Open Source Container Orchestration Platform

What's hot (20)

PDF
Kubernetes architecture
PDF
Scale out, with Kubernetes (k8s)
PPTX
Dev opsec dockerimage_patch_n_lifecyclemanagement_
PDF
Kubernetes Basic Operation
PPTX
Kubernetes
PDF
Container Security: How We Got Here and Where We're Going
PPTX
Docker and kubernetes_introduction
PDF
Introduction to kubernetes
PDF
Docker and Kubernetes 101 workshop
PPTX
Kubernetes kubecon-roundup
PDF
Kubernetes-Meetup
PPTX
Kubernetes Introduction
PDF
Kubernetes in Docker
PDF
Platform Orchestration with Kubernetes and Docker
PDF
Making kubernetes simple for developers
PPTX
Docker Presentation
PDF
Kubernetes - introduction
PDF
Introdution to Docker (theory and hands on) dbCafé - dbTrento
PDF
Meteor South Bay Meetup - Kubernetes & Google Container Engine
PDF
Docker, Kubernetes, and Google Cloud
Kubernetes architecture
Scale out, with Kubernetes (k8s)
Dev opsec dockerimage_patch_n_lifecyclemanagement_
Kubernetes Basic Operation
Kubernetes
Container Security: How We Got Here and Where We're Going
Docker and kubernetes_introduction
Introduction to kubernetes
Docker and Kubernetes 101 workshop
Kubernetes kubecon-roundup
Kubernetes-Meetup
Kubernetes Introduction
Kubernetes in Docker
Platform Orchestration with Kubernetes and Docker
Making kubernetes simple for developers
Docker Presentation
Kubernetes - introduction
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Meteor South Bay Meetup - Kubernetes & Google Container Engine
Docker, Kubernetes, and Google Cloud
Ad

Viewers also liked (20)

PPTX
CoreOS in a Nutshell
PDF
CoreOS + Kubernetes @ All Things Open 2015
PPTX
Tectonic Summit 2016: The Origins of Kubernetes
PPTX
Tectonic Summit 2016: CoreOS Tectonic on AWS
PPTX
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
PDF
Kube-AWS
PDF
Kubernetes Basics
PPTX
Preliminary Task : Creating A Story Board From Initial Ideas
PDF
The Importance Of Protecting Your Roof
PPTX
NeuroEducació
PPTX
“Filling the digital preservation gap” an update from the Jisc Research Data ...
PDF
PURCHASERS CHOICE INC.
PPSX
Our Future
PPTX
La norma jurídica
PPTX
Profil & Produk - wWw.ZPayToll.Com
DOCX
PPT
MOTIVATION TO PARTICIPATE IN LANGUAGE EDUCATION AMONG ADULT IMMIGRANTS IN TH...
PDF
How To Manage Zero Clients
PPTX
что может фотошоп
PPTX
CHALLENGES OF THE CERTIFICATION OF HEIS’ INTERNATIONALISATION STRATEGIES
CoreOS in a Nutshell
CoreOS + Kubernetes @ All Things Open 2015
Tectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: CoreOS Tectonic on AWS
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
Kube-AWS
Kubernetes Basics
Preliminary Task : Creating A Story Board From Initial Ideas
The Importance Of Protecting Your Roof
NeuroEducació
“Filling the digital preservation gap” an update from the Jisc Research Data ...
PURCHASERS CHOICE INC.
Our Future
La norma jurídica
Profil & Produk - wWw.ZPayToll.Com
MOTIVATION TO PARTICIPATE IN LANGUAGE EDUCATION AMONG ADULT IMMIGRANTS IN TH...
How To Manage Zero Clients
что может фотошоп
CHALLENGES OF THE CERTIFICATION OF HEIS’ INTERNATIONALISATION STRATEGIES
Ad

Recently uploaded (20)

PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
August Patch Tuesday
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
project resource management chapter-09.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Hybrid model detection and classification of lung cancer
PDF
Getting Started with Data Integration: FME Form 101
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Hindi spoken digit analysis for native and non-native speakers
August Patch Tuesday
Assigned Numbers - 2025 - Bluetooth® Document
1 - Historical Antecedents, Social Consideration.pdf
project resource management chapter-09.pdf
Zenith AI: Advanced Artificial Intelligence
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
A Presentation on Artificial Intelligence
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Tartificialntelligence_presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
Hybrid model detection and classification of lung cancer
Getting Started with Data Integration: FME Form 101
Heart disease approach using modified random forest and particle swarm optimi...
Enhancing emotion recognition model for a student engagement use case through...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A novel scalable deep ensemble learning framework for big data classification...
SOPHOS-XG Firewall Administrator PPT.pptx
A comparative study of natural language inference in Swahili using monolingua...

An introduction to k8 s.pptx

Editor's Notes

  • #2: Self intro Optiver Why I’m testing Kubernetes
  • #3: Mostly introduction; not much detail. Talking about high level concepts; theory of operation, how optiver uses (or wants to use) k8s. Began as a spiritual successor to Google’s “Borg”. Leverages their many years of experience running containers at scale. Written in Golang - open source. Container tech agnostic. Resilient and easily distributed; k8s itself comprises of multiple microservices. Ultimately we chose k8s because it is not strictly a product; Google using it to encourage multi-cloud. Containers encourage stateless design; k8s further encourages this, but does not actively prevent you from deploying stateful. Explain slide (each node/kubelet is phys, square is pod). Applications in k8s: a group of tightly coupled containers that are typically providing some service to each other. Perfect example: Microservices communicating via APIs. In the real world, it is unreasonable to assume everyone uses microservices.
  • #4: Explain (high level cluster) Explain Kubelet. Explain example; AWS solution high level – k8s integration, simplified view of what a cluster might look like (excluding lots). We can trigger autoscaling events for our workers using ASG & SNS. v1, production ready July. v1.1.1 one week old. API is now stable. Many services have been identified as candidates for deployment to k8s (API servers, chat bots, bulk data loaders, reverse proxies, configuration management servers, anything in a JVM (e.g. Atlassian things)).
  • #5: Explain tiny slide. Explain each component and why it is there. Explain Optiver “spec” or boilerplate application example: monitoring and log shipping are free. Explain the overhead of this model, and why it is better for us. K8S abstracts this complexity away from us. Developers are aware that it is unreasonable to expect all applications to be cloud native microservices. Applications or services in k8s can comprise of traditional software that has been successfully containerised. Benefit to our teams (dev test or deploy, dev svcs CI, infra supporting apps).
  • #6: Pod is arguably most important primitive. Fundamental to overall architecture in k8s. Group of containers. Real world example; listener to actual service, includes Optiver boilerplate. Containers are within the same namespace. Pods can communicate with other pods via a cluster-wide IP using NAT. K8S provides pod metrics and arbitrary health checks for containers within. Pin to certain Kubelets with selectors. Do not know of any lost functionality as it is Docker under the hood; still have cgroups.
  • #7: Explain manifest example. Describes desired state; k8s control loops constantly comparing current and desired.
  • #8: Simple abstraction layer on Pods. Ensures that there are always n copies of your pod, where n is 1 or more. Pods will always be the same, but given unique suffix. Problematic for applications that care about exclusive locks (Confluence). There is no reason why more advanced logic cannot be implemented as part of the container entry point. Replication controllers allow for rolling, live upgrades of pods.
  • #10: Service discovery mechanism. Provides transport layer (TCP/UDP) distribution of traffic across a cluster to the appropriate backend pod. Integrates with cloud load balancer services. Essentially a “frontend” to one or more pods that have matching labels.
  • #12: Labels and selectors are used for matching pods to nodes, services to pods. Means that you can have more bespoke Kubelets to provide very specialised services.
  • #13: Final thoughts