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エージェントの一手は 誰も見ていない - Falco拡張OSS「Prempti」とeBPFで サーバーレス実行基盤を二層防御する
keitah
0
250
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
170
Minecraft JavaのMODをSwiftで作る
1mash0
0
180
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
5
360
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
5
640
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.3k
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
870
エージェントはローカル、検証はMicroVM — Lambda MicroVMsでつくるServerless CI
fujioka6789
3
410
2026-09-18 gotanda.sre Terraformで複数環境作ったり、複数Stateに分割したりそれとTerragrunt / Terraform multi envs and multi states
masasuzu
3
580
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
140
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
150
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
Tell your own story through comics
letsgokoyo
1
1.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Everyday Curiosity
cassininazir
0
320
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
From π to Pie charts
rasagy
1
370
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Technical Leadership for Architectural Decision Making
baasie
3
570
Prompt Engineering for Job Search
mfonobong
0
450
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 のトライアルクレジットがなくなる