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
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
54
The Shared Service Blueprint: A Guide to Multi-Tenancy, Illustrated With KEDA - Aya Igarashi, Preferred Networks, Inc.
ladicle
0
87
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駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
5.8k
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
1
140
オンラインゲームのシステム全体像 - コロプラ 2026年度 新卒研修
colopl
0
1.1k
しろおびから始める!ログ活用の第一歩
shumei_ito
0
890
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
190
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
860
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
170
会社説明資料
persolserverworks
0
9.7k
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
230
大型犬好きによるPugの紹介
yamanoku
1
120
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
810
今こそ知りたいAmplifyGen2
mkdev10
2
160
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Building the Perfect Custom Keyboard
takai
2
900
A Soul's Torment
seathinner
8
3.7k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
880
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
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