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 Kubernetes API Through Knobs, Faders, and Sliders
Search
Ian Lewis
March 16, 2016
Technology
0
94
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
39
26k
The Enemy Within: Running untrusted code in Kubernetes
ianlewis
0
1.2k
The Enemy Within: Running untrusted code with gVisor
ianlewis
4
890
KubeCon EU Runtime Track Recap
ianlewis
3
1.5k
コンテナによるNoOpsオートメーション
ianlewis
2
130
Google Kubernetes Engine 概要 & アップデート @ GCPUG Kansai Summit Day 2018
ianlewis
2
830
Extending Kubernetes with Custom Resources and Operator Frameworks
ianlewis
10
3.5k
Kubernetesのセキュリティのベストプラクティス
ianlewis
12
16k
Scheduling and Resource Management in Kubernetes
ianlewis
2
1.3k
Other Decks in Technology
See All in Technology
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
1
400
TransitGatewayの基礎
toru_kubota
0
230
スタートアップの技術顧問を3年間続けて発生した事と気付き
biwakonbu
0
150
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
1
600
シン・Kafka / shin-kafka
oracle4engineer
PRO
6
2.7k
ユーザーストーリーのレビューを自動化したみたの
bun913
1
280
カオナビの利用実績をアウトカムへつなげる旅 / example-of-data-management-startup-in-kaonavi
kaonavi
0
110
アプリがつくるNOT A HOTELブランド
hokuts
0
450
「共通基盤」を超えよ! 今、Platform Engineeringに取り組むべき理由
jacopen
25
5.7k
DevOpsDays History and my DevOps story
kawaguti
PRO
7
1.3k
転移学習とドメイン適応の基礎
kmatsui
2
570
次世代Web認証「パスキー」 / mo-zatsudan-passkey
nkzn
22
13k
Featured
See All Featured
BBQ
matthewcrist
79
8.7k
Typedesign – Prime Four
hannesfritz
36
2k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
The Pragmatic Product Professional
lauravandoore
24
5.8k
Git: the NoSQL Database
bkeepers
PRO
421
63k
The Art of Programming - Codeland 2020
erikaheidi
41
12k
Building Flexible Design Systems
yeseniaperezcruz
318
37k
Fantastic passwords and where to find them - at NoRuKo
philnash
36
2.5k
Building an army of robots
kneath
300
41k
Thoughts on Productivity
jonyablonski
57
3.8k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
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