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
58
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
30
Containers has changed the world
rnaveiras
0
88
Extending Ruby
rnaveiras
4
210
Other Decks in Technology
See All in Technology
公共交通データとアプリ制作 - Mini Tokyo 3D の初期制作過程を振り返る
nagix
1
110
【株式会社ELYZA】|GENIAC成果報告会 自社開発モデルプレゼンテーション
elyza
1
410
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
390
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
2
270
不動産 x AIことはじめ~データの真価を拓くために
estie
0
130
言葉は感情の近似値である。その感情と言葉の誤差を最小化しよう ~コミュニケーションにおけるアナログ/デジタル変換の課題に立ち向かう~
nktamago
0
250
OSTという文化を組織に根付かせてみた
sansantech
PRO
2
430
o1のAPIで実験してみたが 制限きつすぎて辛かった話
pharma_x_tech
0
230
AI前提のサービス運用ってなんだろう?
ryuichi1208
3
1.1k
OCI で始める!! Red Hat OpenShift / Get Started OpenShift on OCI
oracle4engineer
PRO
1
200
Agile in Automotive Industry, puzzles and lights.
hiranabe
3
1.4k
Mocking in Rust Applications
taiki45
2
420
Featured
See All Featured
Infographics Made Easy
chrislema
239
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
123
18k
How to Think Like a Performance Engineer
csswizardry
16
960
In The Pink: A Labor of Love
frogandcode
139
22k
From Idea to $5000 a Month in 5 Months
shpigford
379
46k
What's in a price? How to price your products and services
michaelherold
242
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
The Language of Interfaces
destraynor
153
23k
No one is an island. Learnings from fostering a developers community.
thoeni
18
2.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
158
15k
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!