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
83
0
Share
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
68
Containers has changed the world
rnaveiras
0
130
Extending Ruby
rnaveiras
4
230
Other Decks in Technology
See All in Technology
Anthropic「Long-running a gents」をGeminiで再現してみた
tkikuchi
0
600
CloudTrail を見つめ直してみる
kazzpapa3
1
120
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
240
Do Ruby::Box dream of Modular Monolith?
joker1007
1
360
Class.new is all you need
riseshia
1
190
Keeping Ruby Running on Cygwin
fd0
0
180
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
220
Revisiting [CLS] and Patch Token Interaction in Vision Transformers
yu4u
0
400
GKE Agent SandboxでAIが生成したコードを 安全に実行してみた
lamaglama39
0
110
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.9k
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
270
色を視る
yuzneri
0
180
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
250
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Statistics for Hackers
jakevdp
799
230k
Navigating Team Friction
lara
192
16k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
Abbi's Birthday
coloredviolet
2
7.2k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Documentation Writing (for coders)
carmenintech
77
5.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
900
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
260
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!