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
7日間でハッキングをはじめる本をはじめてみませんか?_ITエンジニア本大賞2025
nomizone
2
1.4k
現場で役立つAPIデザイン
nagix
29
10k
Ask! NIKKEI RAG検索技術の深層
hotchpotch
13
2.8k
地方拠点で エンジニアリングマネージャーってできるの? 〜地方という制約を楽しむオーナーシップとコミュニティ作り〜
1coin
1
130
[2025-02-07]生成AIで変える問い合わせの未来 〜チームグローバル化の香りを添えて〜
tosite
1
290
Classmethod AI Talks(CATs) #15 司会進行スライド(2025.02.06) / classmethod-ai-talks-aka-cats_moderator-slides_vol15_2025-02-06
shinyaa31
0
170
スクラムのイテレーションを導入してチームの雰囲気がより良くなった話
eccyun
0
110
家電アプリ共通PF "Linova" のAPI利用とPostman活用事例ご紹介
yukiogawa
0
130
日経電子版 x AIエージェントの可能性とAgentic RAGによって提案書生成を行う技術
masahiro_nishimi
1
290
現場の種を事業の芽にする - エンジニア主導のイノベーションを事業戦略に装着する方法 -
kzkmaeda
2
1.5k
Fintech SREの挑戦 PCI DSS対応をスマートにこなすインフラ戦略/Fintech SRE’s Challenge: Smart Infrastructure Strategies for PCI DSS Compliance
maaaato
0
450
モノレポ開発のエラー、誰が見る?Datadog で実現する適切なトリアージとエスカレーション
biwashi
6
770
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Building Applications with DynamoDB
mza
93
6.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building an army of robots
kneath
302
45k
Why Our Code Smells
bkeepers
PRO
335
57k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
It's Worth the Effort
3n
184
28k
Speed Design
sergeychernyshev
25
780
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
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