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
BALLAS Technology Deck
ballas_inc
0
750
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
460
Community Over Code Glasgow 2026 + Lakehouse Day recap
lycorptech_jp
PRO
1
120
Kiro を使うコツ (頼み方、覚えさせ方、任せ方) | 目指せ Kiro マスター 09
inariku
PRO
3
180
gem install とrequire のむこうがわ
ydah
0
120
WasmをRustにする技術
sansantech
PRO
0
100
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
190
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
0
470
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
170
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
1
340
マネージャーをエスパーにしない マネジメントされる側から始める、働きやすい現場づくり
comi190327
1
640
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
120
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
529
40k
エンジニアに許された特別な時間の終わり
watany
109
250k
Designing for humans not robots
tammielis
254
26k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
4 Signs Your Business is Dying
shpigford
187
23k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.7k