Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
明日から使える(?)逆引きKubernetes
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Aya (Igarashi) Ozawa
November 02, 2022
Technology
1.5k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
明日から使える(?)逆引きKubernetes
TechFeed Experts Night #7
https://techfeed.io/events/techfeed-experts-night-7
Aya (Igarashi) Ozawa
November 02, 2022
More Decks by Aya (Igarashi) Ozawa
See All by Aya (Igarashi) Ozawa
Building a Multi-Tenant AI Platform with the CNCF Ecosystem
ladicle
0
58
The Shared Service Blueprint: A Guide to Multi-Tenancy, Illustrated With KEDA - Aya Igarashi, Preferred Networks, Inc.
ladicle
0
89
KubeCon + CloudNativeCon NA ‘25 Recap, Extensibility: Gateway API / NRI
ladicle
0
270
Wait! Can Your Pod Survive a Restart?
ladicle
0
300
KubeCon: To Infinity and Beyond: Seamless autoscaling with in-place resource resize for Kubernetes Pods
ladicle
0
480
FinOps! Optimizing Kubernetes Costs with Karpenter
ladicle
0
470
Kubernetes: API Priority and Fairness
ladicle
1
1.4k
FinOps! karpenterによるk8sコスト削減
ladicle
2
1k
Recap: KubeCon+CloudNativeCon 2021 NA / Kubernetes Meetup Tokyo #47
ladicle
0
370
Other Decks in Technology
See All in Technology
日本AIベンチャーレポート2026
kentarofujii
0
110
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
350
React改造してみた
tsukina_7mochi
0
150
Steerable Visual Representations
sansantech
PRO
0
190
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
1.1k
企画を Software Factory-ready にする——開発が高速になったとき、PdMの仕事はどう変わったか
yachibit
1
140
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
220
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
150
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
190
Claude Code をローカルとサーバー上で利用した際の Bedrock 利用料をユーザー単位で一本化してみる
ohorig
0
100
ポケモン対戦を自動で記録して振り返ろう
fufufukakaka
0
280
Refining Active Record
shugo
0
190
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
Believing is Seeing
oripsolob
1
250
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Fireside Chat
paigeccino
43
4.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
530
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Into the Great Unknown - MozCon
thekraken
41
2.8k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
580
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
950
Transcript
໌͔Β͑Δ(?)ٯҾ͖Kubernetes Aya Igarashi (@Ladicle), SWE at CloudNatix TechFeed Experts Night
#7
? օ͞ΜɺͲͷΑ͏ʹkubernetesͱٔΕͯ·͔͢ʁ
Outline 1. Resource 1. ҙͷϑΟʔϧυΛwatch͢Δ 2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ 3. ϦιʔεΛ࿈ଓͯ͠ૢ࡞͢Δ 2.
Cluster 1. ݕূ༻ΫϥελΛ༻ҙ͢Δ 2. ૢ࡞͢ΔΫϥελΛΓସ͑Δ 3. PrometheusܗࣜͷmetricsΛJSONͱͯ͠ѻ͏ 1. KindͰखݩͷmain.goΛಈ࡞֬ೝ͢Δ 2. ίϯςφΛσόοά͢Δ 3. ίϯςφΠϝʔδͷதΛ֬ೝ͢Δ 3. Development Appendix
whoami? • ϚϧνΫϥυk8sͷίετ࠷ దԽӡ༻ͷࣗಈԽαʔϏεΛ ఏڙ͢ΔUSͷձࣾͰ͢ • ຊ͔ΒҰॹʹಇ͍ͯ͘ΕΔਓ ΛืूதͰ͢! GitHub &
Twitter: @Ladicle • Stream Deck ͓͢͢Ί • खݩʹiPad͋Δͱϖϯλϒ෩ ʹ͑ͯศར SWE at CloudNatix ࠨखσόΠεͷ͢ʍΊ
JsonPathܗࣜͰࢦఆͰ͖Δ 1-1. ҙͷϑΟʔϧυΛwatch͢Δ
1-1. ҙͷϑΟʔϧυΛwatch͢Δ file͔ΒಡΊΔ
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ デフォルトバージョン
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ 複数バージョンが提供されてい るパターン
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ
1-2. ࢦఆͨ͠όʔδϣϯͷϦιʔεΛget͢Δ デフォルトv2 明示的に指定したv1
1-3. ϦιʔεΛ࿈ଓͯ͠ૢ࡞͢Δ
2-1. ݕূ༻ΫϥελΛ༻ҙ͢Δ
2-1. ݕূ༻ΫϥελΛ༻ҙ͢Δ con f ig.yaml FeatureGateもシュッと有効にでき る!
2-1. ݕূ༻ΫϥελΛ༻ҙ͢Δ 容量に注意!
2-2. ૢ࡞͢ΔΫϥελΛΓସ͑Δ
2-2. ૢ࡞͢ΔΫϥελΛΓସ͑Δ
2-3.PrometheusܗࣜͷmetricsΛJSONͱͯ͠ѻ͏
2-3.PrometheusܗࣜͷmetricsΛJSONͱͯ͠ѻ͏
3-1. kindͰखݩͷGoίʔυͷڍಈΛ֬ೝ͢Δ
3-1. kindͰखݩͷGoίʔυͷڍಈΛ֬ೝ͢Δ
3-1. kindͰखݩͷGoίʔυͷڍಈΛ֬ೝ͢Δ Downloadできないので ImagePullPolicyに注意!
3-2. ίϯςφΛσόοά͢Δ
3-2. ίϯςφΛσόοά͢Δ Distrolessなどをベースイメー ジに使っているとshがない
3-2. ίϯςφΛσόοά͢Δ Podにデバッグ用のエフェメラ ルコンテナが追加される
3-2. ίϯςφΛσόοά͢Δ Targetフラグ指定したコンテナ とPID Namespaceを共有※
3-2. ίϯςφΛσόοά͢Δ エフェメラルコンテナではない ㅟ ㅟ
3-3. ίϯςφΠϝʔδͷதΛ֬ೝ͢Δ
3-3. ίϯςφΠϝʔδͷதΛ֬ೝ͢Δ 各レイヤの中身
Quick Recap
DemoͰొͨ͠ίϚϯυ yq: https://github.com/mikefarah/yq jiq: https://github.com/ f iatjaf/jiq prom2json: https://github.com/prometheus/prom2json ko:
https://github.com/ko-build/ko k9s: https://github.com/derailed/k9s dive: https://github.com/wagoodman/dive kubectx(&ns): https://github.com/ahmetb/kubectx kind: https://github.com/kubernetes-sigs/kind
͓·͚ KEPs List: https://www.kubernetes.dev/resources/keps/ O ff icial CVE Feed: https://kubernetes.io/docs/reference/issues...
Thank you! GitHub & Twitter: @Ladicle