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 Hardware Hacks: Exploring the Kubern...
Search
Ian Lewis
March 16, 2016
Technology
0
100
Kubernetes Hardware Hacks: Exploring the Kubernetes API Through Knobs, Faders, and Sliders
Ian Lewis
March 16, 2016
Tweet
Share
More Decks by Ian Lewis
See All by Ian Lewis
Kubernetes Security Best Practices
ianlewis
38
26k
The Enemy Within: Running untrusted code in Kubernetes
ianlewis
0
1.3k
The Enemy Within: Running untrusted code with gVisor
ianlewis
4
1.3k
KubeCon EU Runtime Track Recap
ianlewis
3
1.6k
コンテナによるNoOpsオートメーション
ianlewis
2
170
Google Kubernetes Engine 概要 & アップデート @ GCPUG Kansai Summit Day 2018
ianlewis
2
950
Extending Kubernetes with Custom Resources and Operator Frameworks
ianlewis
10
3.8k
Kubernetesのセキュリティのベストプラクティス
ianlewis
12
17k
Scheduling and Resource Management in Kubernetes
ianlewis
2
1.4k
Other Decks in Technology
See All in Technology
Vault meets Kubernetes
mochizuki875
0
140
スプリントレトロスペクティブはチーム観察の宝庫? 〜チームの衝突レベルに合わせたアプローチ仮説!〜
electricsatie
1
120
GitHub Copilot coding agent を推したい / AIDD Nagoya #1
tnir
4
4.8k
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
1.4k
DeNA での思い出 / Memories at DeNA
orgachem
PRO
5
1.8k
Oracle Cloud Infrastructure:2025年8月度サービス・アップデート
oracle4engineer
PRO
0
110
制約理論(ToC)入門
recruitengineers
PRO
8
3.3k
実践アプリケーション設計 ②トランザクションスクリプトへの対応
recruitengineers
PRO
4
1k
新規案件の立ち上げ専門チームから見たAI駆動開発の始め方
shuyakinjo
0
520
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
2
120
Product Management Conference -AI時代に進化するPdM-
kojima111
0
260
開発と脆弱性と脆弱性診断についての話
su3158
1
1.2k
Featured
See All Featured
Navigating Team Friction
lara
189
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
4 Signs Your Business is Dying
shpigford
184
22k
A Modern Web Designer's Workflow
chriscoyier
696
190k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Six Lessons from altMBA
skipperchong
28
4k
A designer walks into a library…
pauljervisheath
207
24k
KATA
mclloyd
32
14k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Transcript
Ian Lewis Developer Relations Kubernetes Hardware Hacks Exploring the Kubernetes
API Through Knobs, Faders, and Sliders
Confidential & Proprietary Google Cloud Platform 2 Ian Lewis Developer
Advocate - Google Cloud Platform Tokyo, Japan google.com/+IanLewis-hoge @IanMLewis
Confidential & Proprietary Google Cloud Platform 3 私は日本語ちょっとできます I can
speak Japanese a little
Confidential & Proprietary Google Cloud Platform 4 Dashboard
None
Jean-Etienne Poirrier Creative Commons
Duch.seb Creative Commons
Google Cloud Platform kubelet UI kubelet CLI API users master
nodes The 10000 foot view etcd kubelet scheduler controllers apiserver
Google Cloud Platform UI All you really care about API
Container Cluster
Google Cloud Platform UI All you really care about API
Container Cluster
Confidential & Proprietary Google Cloud Platform 11 http://localhost:8888/swagger-ui/
Google Cloud Platform Objects • Nodes • Pods • ReplicationControllers
• Services • etc.
Confidential & Proprietary Google Cloud Platform 13 observe diff act
Google Cloud Platform Clients • CLI: kubectl! • Official Go
client • Fabric8/OSGi • pykube • More: kubernetes/docs/devel/client-libraries. md
Confidential & Proprietary Google Cloud Platform 15 kubectl proxy &
curl
Confidential & Proprietary Google Cloud Platform 16 kubectl
Confidential & Proprietary Google Cloud Platform 17 kubectl get pods
GET /api/v1/namespaces/default/pods { "kind": "PodList", "apiVersion": "v1", "metadata": { "selfLink": "/api/v1/namespaces/default/pods", "resourceVersion": "3742101" }, "items": [ … ] }
Confidential & Proprietary Google Cloud Platform 18 kubectl get pods
--namespace=myns GET /api/v1/namespaces/myns/pods { "kind": "PodList", "apiVersion": "v1", "metadata": { "selfLink": "/api/v1/namespaces/myns/pods", "resourceVersion": "3742101" }, "items": [ … ] }
Confidential & Proprietary Google Cloud Platform 19 kubectl label pod
mypod a=b PUT /api/v1/namespaces/default/pods/mypod … “metadata”: { “labels”: [“a”: “b”, …] } ...
Confidential & Proprietary Google Cloud Platform 20 kubectl rolling-update GET
/api/v1/namespaces/default/replicationcontrollers/B POST /api/v1/namespaces/default/replicationcontrollers ... PUT /api/v1/namespaces/default/replicationcontrollers/B ... PUT /api/v1/namespaces/default/replicationcontrollers/A ...
Google Cloud Platform Dashboard publisher subscriber launchpad launchcontrol API scale
get pods
Google Cloud Platform Dashboard publisher subscriber launchpad launchcontrol API scale
get pods ? ?
Google Cloud Platform Standard Deployment • Docker deployments require lots
of tooling • Kubernetes API has visibility into the cluster • Great for building things on top like CI, CD, and dashboards!
Done! Thanks! @IanMLewis