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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.1k
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
300
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
6
1.3k
10分で知る最近のOmarchy
komagata
0
290
おい、エージェントを使って終わらせろ
nwiizo
0
170
Amazon Quick on DesktopがIAM Identity Centerで動かない理由
yukiogawa
0
180
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
AIネイティブプロダクトで顧客価値を最大化するプロダクトエンジニアとFDEの協働
righttouch
PRO
0
270
あるけみー式LTスライド作成術
alchemy1115
1
210
AI時代、データエンジニアが一番おもろい
genshun9
0
500
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
1.1k
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
410
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Prompt Engineering for Job Search
mfonobong
0
450
Deep Space Network (abreviated)
tonyrice
0
300
From π to Pie charts
rasagy
0
360
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
230
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
330
Visualization
eitanlees
152
17k
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 のトライアルクレジットがなくなる