Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Kubernetes
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Nihara Thomas
June 07, 2018
Technology
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes
Slides from the Kubernetes talk at OC Python - 6/5/2018
Nihara Thomas
June 07, 2018
Transcript
26 slides
Kubernetes OC Python June 5th 2018
Introduction - Nihara Thomas
Agenda • Kubernetes Intro • Why Kubernetes? • Kubernetes concepts
• How you can start using Kubernetes • Demo • Resources • Q&A
None
What now? Kubernetes is an open-source system for automating deployment,
scaling, and management of containerized applications. K8s == Kubernetes
But what’s the problem? • Multi-container, multi-host applications • High
Availability • Scalability • Ease of Deployment
Solution... Container Orchestration frameworks Cluster Management Scheduling Containers Service Discovery
Load Balancing Crash Recovery
And Kubernetes helps how? • Open source • Cloud Service
Provider agnostic • Easy Upgrades and Rollbacks • Self-healing • Horizontal Scaling • Service Discovery and Load Balancing
Cool… so what do I need to know?
K8s Architecture
Kubernetes Objects • Persistent entities in the K8s system •
Represent the state of your system • You create it, K8s makes sure it’s always there
K8s Objects - Namespace • Help divide cluster resources •
Provide scope for names - isolation and security
K8s Objects - Deployment • Single instance of an application
in the K8s system • Specifies containers that need to be run • Container Image and tag • Desired number of replicas
K8s Objects - Replica Set • Ensures that specified number
of pods are running at any given time • Used by deployment to orchestrate pod creation, deletion and updates
K8s Objects - Pod • Basic building block of K8s
• Encapsulates a container (or multiple containers) • Defines required storage resources • Specifications on how the container(s) should run
Deployment → ReplicaSet → Pod
K8s Objects - Service • Abstraction that defines a set
of pods and policies by which they can be accessed
K8s Objects - Volume • Directory with (or without data)
that is accessible to the container • Explicit lifetime - same as that of the Pod • Data persists across container restarts
K8s Objects - DaemonSet • Ensures that a Pod is
run on all K8s nodes • Use case: ◦ Logs collection daemon such as FluentD
K8s Objects - Job • K8s Cron • Job creates
a pod(s) and ensures that it runs to completion ◦ No image ◦ Can run a command directly ◦ Restarts pod in case of failure ◦ # of successful completions desired can be specified
Interacting with K8s Objects • K8s API directly • Kubectl
→ CLI utility that calls the K8s api for you
Try Kubernetes • Minikube - local K8s cluster ◦ minikube
start • Deploy K8s cluster on a CSP ◦ K8s the Hard Way - Kelsey Hightower • Self-hosted K8s
Let’s see K8s at work .... Link to Demo app
Resources • Try Kubernetes • Kubernetes Comic • Official K8s
documentation
Questions?
None
Other Decks in Technology
See All in Technology
ポケモンバトルのAIエージェント
koji_kawamura
0
260
実測データからサービスの成長余力を測る。負荷シナリオ・テストデータ・限界値の設計
kazatohiei
1
180
gradle-best-practices 使ってみた
mikanichinose
0
230
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
240
Kiro Crew の Conductor mode: 1 つのチャットに渡したゴールを、コンダクターがワーカーに分けて任せる
inariku
PRO
1
110
こんなに変わった! AWSネットワークの常識
shotashiratori
16
12k
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
480
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
160
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
150
NutanixへのSSHアクセスの今後について
shadowhat
0
180
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
0
330
Go でトランザクション、どう書いてますか?
knwoop
2
630
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
470
Building an army of robots
kneath
307
47k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Cult of Friendly URLs
andyhume
79
7.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
390
Visualization
eitanlees
153
17k
How to build a perfect <img>
jonoalderson
1
6.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Limits of Empathy - UXLibs8
cassininazir
2
800
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
GraphQLとの向き合い方2022年版
quramy
50
15k
Ethics towards AI in product and experience design
skipperchong
2
470