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
98
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.1k
KubeCon EU Runtime Track Recap
ianlewis
3
1.6k
コンテナによるNoOpsオートメーション
ianlewis
2
150
Google Kubernetes Engine 概要 & アップデート @ GCPUG Kansai Summit Day 2018
ianlewis
2
900
Extending Kubernetes with Custom Resources and Operator Frameworks
ianlewis
10
3.7k
Kubernetesのセキュリティのベストプラクティス
ianlewis
12
17k
Scheduling and Resource Management in Kubernetes
ianlewis
2
1.4k
Other Decks in Technology
See All in Technology
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
マルチモーダル理解と生成の統合 DeepSeek Janus, etc... / Multimodal Understanding and Generation Integration
hiroga
0
360
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
730
All you need to know about InnoDB Primary Keys
lefred
0
120
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
1
1.1k
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
15
5.5k
事業継続を支える自動テストの考え方
tsuemura
0
300
ハッキングの世界に迫る~攻撃者の思考で考えるセキュリティ~
nomizone
12
4.5k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
57k
SCSAから学ぶセキュリティ管理
masakamayama
0
140
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
1.5k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
For a Future-Friendly Web
brad_frost
176
9.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
A Philosophy of Restraint
colly
203
16k
Fireside Chat
paigeccino
34
3.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
175
51k
Typedesign – Prime Four
hannesfritz
40
2.5k
Writing Fast Ruby
sferik
628
61k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
GitHub's CSS Performance
jonrohan
1030
460k
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