Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetes
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Nihara Thomas
June 07, 2018
Technology
0
49
Kubernetes
Slides from the Kubernetes talk at OC Python - 6/5/2018
Nihara Thomas
June 07, 2018
Tweet
Share
Other Decks in Technology
See All in Technology
Webhook best practices for rock solid and resilient deployments
glaforge
1
270
システムのアラート調査をサポートするAI Agentの紹介/Introduction to an AI Agent for System Alert Investigation
taddy_919
2
2k
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
4.9k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
680
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
410
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
150
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
120
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
2人で作ったAIダッシュボードが、開発組織の次の一手を照らした話― Cursor × SpecKit × 可視化の実践 ― Qiita AI Summit
noalisaai
1
370
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
2
310
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
Prompt Engineering for Job Search
mfonobong
0
160
ラッコキーワード サービス紹介資料
rakko
1
2.2M
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
The Invisible Side of Design
smashingmag
302
51k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
The Limits of Empathy - UXLibs8
cassininazir
1
210
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
A Tale of Four Properties
chriscoyier
162
24k
Transcript
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