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-the-hard-way を最新版 (1.29.1) でやってみた
Search
Kento Kubo
February 13, 2024
Technology
1.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
kubernetes-the-hard-way を最新版 (1.29.1) でやってみた
Kento Kubo
February 13, 2024
Other Decks in Technology
See All in Technology
AI AgentによるEmbedded SREの取り組み
tgidgd
1
210
cdk deployとcdkd deploy、実際にデプロイして5倍速近くの差を実測した
yama3133
1
120
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
120
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
170
LLMの知識とAIエージェント
happysamurai294
0
120
Vue で書く 空間コンピューティング、TresJS と WebXR を使ったXR デバイスのフロントエンド開発
hiranuma
0
130
2026-10-24 JAWS JAWS-UG 茨城 #18 IAM Policy Autopilotってなにさ。terraform planからIAM Policyつくれるの? / What's IAM Policy Autopilot
masasuzu
0
180
新卒エンジニア、 介護士になる
ryu1013
1
440
Vibe-to-Spec開発_実践ガイド
happysamurai294
0
120
Draft AIエージェントの トークン消費を最小化する 8つの原則
kinopeee
6
1.9k
Filter What the LLM Reads: RAG Governance with AgentCore Gateway
yakumo
1
130
正解のない研修に放り出されて / Being thrown into a training program with no right answers
ohnoeight
1
170
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
The SEO Collaboration Effect
kristinabergwall1
1
610
Being A Developer After 40
akosma
PRO
92
590k
Paper Plane
katiecoart
PRO
5
54k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
380
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Building Adaptive Systems
keathley
44
3.3k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Side Projects
sachag
456
43k
We Have a Design System, Now What?
morganepeng
55
8.4k
Ruling the World: When Life Gets Gamed
codingconduct
0
430
A designer walks into a library…
pauljervisheath
211
25k
Transcript
Kubernetes-the-hard-way を 最新版(1.29.1)でやってみた Kento Kubo (kentktasc246)
自己紹介 久保 顕登 / Kento Kubo • 2023 ~ ヤフー株式会社(現LINEヤフー株式会社)
• Kubernetes as a Service の SRE • Kubernetes 歴 半年 CNDT2023 の弊チームのセッション
Kubernetes 始めたてのころ… おすすめの学習コンテンツ教えてください! Kubernetes 完全に理解するぞ! Kubernetes 完全ガイドと Kubernetes-the-hard-way あれ…これ v1.21…
今は… v1.28 ????? ※ 2023年夏時点
Kubernetes-the-hard-way を最新版でやってみた Originai : https://github.com/kelseyhightower/kubernetes-the-hard-way PR : https://github.com/kelseyhightower/kubernetes-the-hard-way/pull/761 ※ 完全ガイドも輪読会で1周しました
詰まったポイント • kubelet で dockershim 排除に伴うオプションの変化 • kube-scheduler で config
の api version が v1 に • containerd で cgroup のマウントポイント指定漏れ • DNS の検証で nginx のバージョンが最新だと動かない(?) • gcloud コマンドのオプションの変化 • GCP の利用料金が2倍に 意外とスムーズに 1.29.1 のクラスタ構築ができた
詰まったポイント1 dockershim の排除に伴う kubelet 起動オプションの変化 @ Bootstrapping the Kubernetes Worker
Nodes https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md https://kubernetes.io/blog/2023/03/17/upcoming-changes-in-kubernetes-v1-27/
詰まったポイント2 kube-scheduler で config の api version が v1 に
@ Bootstrapping the Kubernetes Control Plane https://kubernetes.io/docs/reference/scheduling/config/
1.29 で動いている検証 https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.29.md#changes-by-kind-1
学び 一次ソースの重要性 kube-scheduler の config の version の一次ソース KEP :
Graduate the kube-scheduler ComponentConfig to GA PR : Graduate component config to stable in kube-scheduler by kerthcet PR : scheduler: remove deprecated v1beta3 KubeSchedulerConfiguration component config by SataQiu 詰まる hardway PR / issue 確認 ググる 公式doc CHANGE LOG k8s の PR / KEP 完全に 理解した
まとめ Kubernetes-the-hard-way を 1.29.1 でやってみた • 思ったよりそのまま動く • CHANGELOG や関連
PR / KEP を斜め読みして、背景や議論・ コードの変遷など、奥深い面白さがあった 今回の作業内容を含めて PR を出した https://github.com/kelseyhightower/kubernetes-the-hard-way/pull/761
Appendix
詰まったポイント(その他) gcloud コマンドが通らない • オプションが不要になったり、結果のパースに失敗したりした • それで証明書の作成を3回ほどやり直す羽目になった GCP の料金が約2倍かかる •
あっという間に $300 のトライアルクレジットがなくなる