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-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
OCI Oracle AI Database Services新機能アップデート(2026/03-2026/05)
oracle4engineer
PRO
0
310
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
270
noUncheckedIndexedAccess、3時間、1万円。 / noUncheckedIndexedAccess, 3 Hours, 10,000 JPY.
kaonavi
1
340
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
280
ABEMA の Datadog × OTel 基盤、 中から見るか? 外から見るか?
tetsuya28
0
110
【Gen-AX】20260530開催_JJUG CCC 2026 Spring
genax
1
440
Agentic Defenseとともにセキュリティエンジニアが輝き続けるには / How Security Engineers Can Keep Excelling with Agentic Defense
yuj1osm
0
130
"何を作るか"を任される エンジニアは、どう育つのか
yutaokafuji
1
270
AIにフローを作らせようとして挫折した話
hamatsutaichi
0
240
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
790
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
7
4.3k
チームで進めるAI駆動アジャイル×ウォーターフォール
kumaiu
0
110
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
160
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
GraphQLとの向き合い方2022年版
quramy
50
15k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
The untapped power of vector embeddings
frankvandijk
2
1.7k
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 のトライアルクレジットがなくなる