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 - The new platform
Search
Raúl Naveiras
January 04, 2017
Technology
96
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes - The new platform
Asturias Hacking - Jan 2018
Raúl Naveiras
January 04, 2017
More Decks by Raúl Naveiras
See All by Raúl Naveiras
Stop running containers with sticks and duct tape
rnaveiras
0
93
Containers has changed the world
rnaveiras
0
150
Extending Ruby
rnaveiras
4
240
Other Decks in Technology
See All in Technology
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
12
85k
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
370
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
140
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
210
DatadogのBits Chatが開発組織にもたらしたもの / What Bits Chat Has Brought Us
sms_tech
1
300
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
580
Genie Codeハンズオン応用編
taka_aki
0
140
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
120
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
dbt と Snowflake と tag
kevinrobot34
1
170
2027年のMetricKit
kantacky
0
160
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
260
Featured
See All Featured
Everyday Curiosity
cassininazir
0
290
How to build a perfect <img>
jonoalderson
1
5.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
470
Documentation Writing (for coders)
carmenintech
77
5.5k
Side Projects
sachag
455
43k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
380
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
300
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Balancing Empowerment & Direction
lara
6
1.2k
Transcript
Kubernetes the new platform
Raúl Naveiras @rnaveiras /
[email protected]
/ bebanjo.com
Obligatory Background
Image by Connie Zhou
None
Greek for "Helmsman" Runs and manage containers Inspired and informed
by Google's experiences
Support multiple cloud and bare-metal environments Supports multiple containers runtimes
100% open source, written in Go
A group of one or more containers co-located, co-schedule, run
in a shared context Pod Pod Web Server Consumers
contains one or more application containers which are relatively tightly
couple Pod File Puller Web Server Volume Consumers Content Pod
Pods have IPs which are routable No brokering of port
numbers Pod 10.1.3.17 Pod Networking Pod 10.1.2.4 Pod 10.1.1.21
A given pod is not rescheduled Relatively ephemeral entities Life
of a Pod
Ensures a specify number of pods "replicas" e.g. process supervisor
Replica Set
Identify attributes of objects that are meaningful and relevant to
users Can be used to Organize and to select subject of objects Labels
Equality-based requirement Set-based requirement Label Selector env = production tier
!= web env in (production, qa) tier notin (web, worker) tenant !tenant
A logical grouping of pods that perform the same function
It has a unique stable Virtual IP Service Pod Pod Pod Service Client VIP tier = web tier = web tier = web label selector: tier = web
Provides declarative updates for Pods and Replica Sets Describe the
desired state Deployment
Demo
High Level Design nodes master users kubelet kubelet kubelet kubectl
etcd apiserver scheduler controller manager
Namespaces Secrets ConfigMaps HPA Ingress Resources Jobs DaemonSets Cron Jobs
Volumes Persistent Volumes Resource Quotas Network Polices
Security Context Pod Security Polices Service Accounts RBAC Third Party
Resources Node affinity and anti-affinity Multi-scheduler support Device scheduling (e.g. GPUS)
Federation k8s cluster usa-3 k8s cluster asia-2 k8s cluster europe-1
federation control plane
Kubernetes 1.5
Improve Federation Support StatefulSet Simplified Cluster Deployment Node Robustness and
Extensibility
None
We're hiring http://bebanjo.com/careers
Thanks!