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
910
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
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
17
46k
Oracle Database Technology Night #87-1 : Exadata Database Service on Exascale Infrastructure(ExaDB-XS)サービス詳細
oracle4engineer
PRO
1
210
わたしがEMとして入社した「最初の100日」の過ごし方 / EMConfJp2025
daiksy
14
5.5k
AIエージェント入門
minorun365
PRO
33
19k
JAWS DAYS 2025 アーキテクチャ道場 事前説明会 / JAWS DAYS 2025 briefing document
naospon
0
2.8k
LayerXにおけるAI活用事例とその裏側(2025年2月) バクラクの目指す “業務の自動運転” の例 / layerx-ai-deim2025
yuya4
1
190
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
170
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
1.1k
LINE NEWSにおけるバックエンド開発
lycorptech_jp
PRO
0
350
データベースの負荷を紐解く/untangle-the-database-load
emiki
2
550
IoTシステム開発の複雑さを低減するための統合的アーキテクチャ
kentaro
1
130
クラウド関連のインシデントケースを収集して見えてきたもの
lhazy
9
1.9k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Typedesign – Prime Four
hannesfritz
41
2.5k
4 Signs Your Business is Dying
shpigford
183
22k
Documentation Writing (for coders)
carmenintech
68
4.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Making Projects Easy
brettharned
116
6k
Speed Design
sergeychernyshev
27
810
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
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