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
0
59
Kubernetes - The new platform
Asturias Hacking - Jan 2018
Raúl Naveiras
January 04, 2017
Tweet
Share
More Decks by Raúl Naveiras
See All by Raúl Naveiras
Stop running containers with sticks and duct tape
rnaveiras
0
35
Containers has changed the world
rnaveiras
0
92
Extending Ruby
rnaveiras
4
220
Other Decks in Technology
See All in Technology
GraphRAG: What I Thought I Knew (But Didn’t)
sashimimochi
1
230
Makuake*UPSIDER_LightningTalk
upsider_tech
0
220
顧客の声を集めて活かすリクルートPdMのVoC活用事例を徹底解剖!〜プロデザ!〜
recruitengineers
PRO
0
210
DevSecOps入門:Security Development Lifecycleによる開発プロセスのセキュリティ強化
yuriemori
1
270
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
7
5.8k
Women in Agile
kawaguti
PRO
2
170
ObservabilityCON on the Road Tokyoの見どころ
hamadakoji
0
220
FastConnect の冗長性
ocise
1
9.3k
もし今からGraphQLを採用するなら
kazukihayase
9
4.3k
Kubernetes x k6 で負荷試験基盤を開発して 負荷試験を民主化した話 / Kubernetes x k6
sansan_randd
0
180
企業テックブログにおける執筆ネタの考え方・見つけ方・広げ方 / How to Think of, Find, and Expand Writing Topics for Corporate Tech Blogs
honyanya
0
830
[TechNight #86] Oracle GoldenGate - 23ai 最新情報&プロジェクトからの学び
oracle4engineer
PRO
1
190
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
693
190k
YesSQL, Process and Tooling at Scale
rocio
171
14k
Writing Fast Ruby
sferik
628
61k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Thoughts on Productivity
jonyablonski
68
4.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Fireside Chat
paigeccino
34
3.2k
Typedesign – Prime Four
hannesfritz
40
2.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
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!