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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
0
210
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
130
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
260
Apache Iceberg が拓く AI 時代のオープンレイクハウス
tomtanaka
0
220
20260930_Gemma4_Hands-on
tsho
0
210
[2026 Oracle Technical Deep Dive] AI時代のアプリケーションを支えるCloud NativeとJava EEモダナイゼーション (2026年9月17日開催)
oracle4engineer
PRO
0
110
Codex概要
ymiya55
0
280
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
190
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
110
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
18
14k
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
120
今こそ知りたいAmplifyGen2
mkdev10
2
110
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
350
Rails Girls Zürich Keynote
gr2m
96
14k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.2k
Visualization
eitanlees
153
17k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Navigating Team Friction
lara
192
16k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
250
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 のトライアルクレジットがなくなる