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
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
Biz職でもDifyでできる! 「触らないAIワークフロー」を実現する方法
igarashikana
7
3.3k
QA業務を変える(!?)AIを併用した不具合分析の実践
ma2ri
0
140
SCONE - 動画配信の帯域を最適化する新プロトコル
kazuho
1
370
From Natural Language to K8s Operations: The MCP Architecture and Practice of kubectl-ai
appleboy
0
200
CREが作る自己解決サイクルSlackワークフローに組み込んだAIによる社内ヘルプデスク改革 #cre_meetup
bengo4com
0
330
プレイドのユニークな技術とインターンのリアル
plaidtech
PRO
1
350
可観測性は開発環境から、開発環境にもオブザーバビリティ導入のススメ
layerx
PRO
0
210
FinOps について (ちょっと) 本気出して考えてみた
skmkzyk
0
210
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
13
82k
ブラウザのAPIで Nintendo Switch用の特殊なゲーム用コントローラーを体験型コンテンツに / IoTLT @ストラタシス・ジャパン
you
PRO
0
120
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
5k
初めてのDatabricks Apps開発
taka_aki
1
370
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
Making Projects Easy
brettharned
120
6.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Context Engineering - Making Every Token Count
addyosmani
8
300
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
Rails Girls Zürich Keynote
gr2m
95
14k
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