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
88
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
85
Containers has changed the world
rnaveiras
0
140
Extending Ruby
rnaveiras
4
230
Other Decks in Technology
See All in Technology
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
200
オンコールの負荷軽減のためのBits Assistant 活用方法 / How to Use Bits Assistant to Reduce the Workload on On-Call Staff
sms_tech
1
370
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
210
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
170
Dynamic Workersについて
yusukebe
2
560
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.8k
新規ゲーム開発におけるAI駆動開発のリアル
202409e2
0
1.2k
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
160
形式手法特論:公平性制約の位相的特徴づけ #kernelvm / Kernel VM Study Kansai 12th
ytaka23
1
670
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
テストコードのないプロジェクトにテストを根付かせる
tttol
1
240
React、まだ楽しくて草
uhyo
7
3.8k
Featured
See All Featured
HDC tutorial
michielstock
2
680
Statistics for Hackers
jakevdp
799
230k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
950
KATA
mclloyd
PRO
35
15k
Are puppies a ranking factor?
jonoalderson
1
3.5k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
810
Amusing Abliteration
ianozsvald
1
190
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
590
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
Reality Check: Gamification 10 Years Later
codingconduct
0
2.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!