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
20260410 - CNTUG meetup #72 - DiskImage Builder...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ChengHao Yang
April 10, 2026
Technology
100
0
Share
20260410 - CNTUG meetup #72 - DiskImage Builder 介紹:以 Kubespray CI 打造 RockyLinux 10 Cloud Image 為例
ChengHao Yang
April 10, 2026
More Decks by ChengHao Yang
See All by ChengHao Yang
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
250
20260113 - NKP Tour Taipei 2026 - 雲端原⽣標準的商業價值:從開源中立到企業 AI 轉型之路
tico88612
0
28
20251023 - KubeSummit 2025 - Kubespray and IaC Practice Automating On-Premise Kubernetes Deployment
tico88612
0
200
20251020 - Cathay Open Source Meetup #2 - Cloud Native Ecosystem in Taiwan
tico88612
0
30
20250810 - CNTUG Meetup #69 / COSCUP 2025 - Non-Code Contributions for Beginners: Introduction to the Kubernetes Release Team
tico88612
0
100
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
320
20241128 - CNTUG Meetup - Recap: KubeCon + CloudNativeCon North America 2024
tico88612
0
73
20241024 - CNTUG meetup - Kubernetes v1.31 簡單雜談
tico88612
0
130
20220904 - SITCON 2022 - 從 0 到 GitHub Actions,以 Hexo Blog 為例設計專屬的 CI/CD Pipeline
tico88612
0
72
Other Decks in Technology
See All in Technology
スクラムを支える内部品質の話
iij_pr
0
300
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
1
210
Webアクセシビリティは“もしも”に備える設計
tomokusaba
0
170
AgentCore RuntimeからS3 Filesをマウントしてみる
har1101
2
340
【関西電力KOI×VOLTMIND 生成AIハッカソン】空間AIブレイン ~⼤阪おばちゃんフィジカルAIに続く道~
tanakaseiya
0
170
すごいぞManaged Kubernetes
harukasakihara
1
340
組織的なAI活用を阻む 最大のハードルは コンテキストデザインだった
ixbox
1
910
レガシーシステムをどう次世代に受け継ぐか
tachiiri
0
290
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
13k
20260326_AIDD事例紹介_ULSC.pdf
findy_eventslides
0
570
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
560
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
190
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Chasing Engaging Ingredients in Design
codingconduct
0
160
Automating Front-end Workflow
addyosmani
1370
200k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Technical Leadership for Architectural Decision Making
baasie
3
310
Un-Boring Meetings
codingconduct
0
250
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Bash Introduction
62gerente
615
210k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Transcript
ChengHao Yang @ CNTUG meetup #72 DiskImage Builder 介紹 以
Kubespray CI 打造 RockyLinux 10 Cloud Image 為例 1
2 • CNCF Ambassador • Co-organizer @ CNTUG • Lead
organizer @ KCD Taipei 2025 • Maintainer @ Kubespray • Release Team @ Kubernetes v1.32~v1.36 • Contributor @ Kubernetes • Contributor @ Container $ whoami ChengHao Yang (tico88612)
3 • 這不是單純的 DiskImage Builder 介紹。 • 要介紹問 AI 就好,真正使
用 的話......。 • 本場演講沒什麼技術含量,單純 PR 作者菜雞 一 枚。 • 調查了半年都沒結果(實際上調查 1 個 月 ,沒共識 5 個 月 ) • 直到有 人 來問 Rocky Linux 10 為什麼還沒寫 支 援。 • 調查細節真的太多,時間也算久,漏掉還請 見 諒。 • 部分知識點是 PR 合併後整理和 AI 辯論的結果,錯誤請直接糾正。 免責聲明 Disclaimer
I. Kubespray CI 簡介 4
5 https://github.com/kubernetes-sigs/kubespray/commit/4aa588e48151ca3fac055a33c5a65640c35f025e
Kubespray Initial Commit 2015/10/04 • GitHub Actions GA ———— 2019/11/11
• GitLab 8.0 整合並發布 GitLab CI ———— 2015/09/22 • Prow (test-infra) First commit ———— 2015/08/21 • Kubernetes First commit ———— 2014/06/07 6
7 Fastfail CI GitLab CI E2E KubeVirt VM E2E KubeVirt
VM E2E KubeVirt VM GitHub PR Contributor
嗯?以前沒有 KubeVirt 啊? 8
GCE + Ansible create VM 9
Equinix Packet + Terraform 10
Oracle VM + (ELASTX + Terraform) 11
12 https://github.com/kubernetes-sigs/kubespray/pull/11132
II. Rocky Linux 10 的問題 13
14 https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/11089189222
15 https://docs.cilium.io/en/stable/operations/system_requirements/#linux-kernel
16
17 https://github.com/kubernetes-sigs/kubespray/pull/12355#discussion_r2217751129
18 https://github.com/kubernetes-sigs/kubespray/pull/12513/ fi les
19 https://github.com/kubernetes-sigs/kubespray/commit/d2029c1640bb71f01595ef406b425d4abb936727
20 https://github.com/kubernetes-sigs/kubespray/pull/12513/ fi les
21 https://github.com/kubernetes-sigs/kubespray/pull/12355
22 https://github.com/kubernetes-sigs/kubespray/pull/12355
III. 建立 OS Image 23
建立 OS Image • DiskImage Builder 可以做 Rocky Linux 10
• 加入套件 kernel-module-extra • 匯出並打包成 Docker Image • 完成? 24
25
Package Installs • 原本 目 錄上,有 package-installs.yaml 就會 自 動安裝和解除安裝套件
26
27 https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/12589789892
Image 容量不夠? • DIB_IMAGE_EXTRA_SIZE 可以加上空間,預設 DIB_IMAGE_SIZE 的 60% • 還是會出現容量不夠的問題?
• 實際 用 KubeVirt 載入後,發現 VM 並沒有把擴充的容量吃進去。 • 缺少 cloud-init-growpart 套件讓 Cloud Init 自 動擴充。 28
29
30 https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/12590831511
連線不到?Firewalld 搞 鬼 • Firewalld 內建在 Rocky Linux 10 當中,預設會擋連線。
• 解除安裝 fi rewalld! • 但發現解除安裝沒有執 行 到 • 自己 寫! 31
32
33
IV. Takeaway 34
Takeaway • Cilium 依功能有需要的 Kernel Module • DiskImage Builder 可以客製化
Cloud Image • Cloud Image 並不會 自 動擴張硬碟,是因為有套件 (cloud-init-growpart) • Rocky Linux 有預載 Firewalld,由於是 CI 環境,可以選擇關閉 35
每 月 聚會 + Call for Speaker • 官 方
網站:https://cloudnative.tw • Cloud Native Taiwan User Group 是 CNCF 認可的在地社群。 • 活動皆免費*限額報名參與。 • 投稿後並完成演講,我們將會贈 送 CNCF Store 一 件禮物! CNTUG meetup 36 徵稿連結 Telegram 群組 Facebook 社團 * 僅收場地費
37 • Website: https://tico.tw • Facebook: @tico88612 • Instagram: @__tico88612__
• GitHub: @tico88612 • LinkedIn: in/tico88612 • Telegram: @tico88612 Thank You! Please feel free to contact me!