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
ClusterAPI on Proxmoxを実装してみた(進捗僅少)
Search
Kentaro
December 10, 2024
1
190
ClusterAPI on Proxmoxを実装してみた(進捗僅少)
Kentaro
December 10, 2024
Tweet
Share
More Decks by Kentaro
See All by Kentaro
おうちk8sクラスタのための外部ロードバランサーを用意した話
beah_s1
0
84
〜もう迷子にならない!〜BLEビーコンで屋内GPS、そこで犯した過ち
beah_s1
0
170
レシートプリンタのSDKが充実してたことを語りたい話
beah_s1
0
750
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Become a Pro
speakerdeck
PRO
26
5k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Documentation Writing (for coders)
carmenintech
66
4.5k
Navigating Team Friction
lara
183
15k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Six Lessons from altMBA
skipperchong
27
3.5k
GitHub's CSS Performance
jonrohan
1030
460k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Transcript
1SPYNPYͰ$MVTUFS"1*Λ ࣮ͯ͠Έͨ BU,VCFSOFUFT/PWJDF CZѨ෦ ݡଠ
ग़Φν͢Έ·ͤΜ ͍ͯ͠ͳ͍Ͱ͢🫠 2
ࣗݾհ apiVersion: slides.beah.jp/v1 kind: introduction metadata: name: for-lt spec: name:
“Ѩ෦ ݡଠ” affiliations: - “౦༸େֶ ใ࿈ܞֶ෦” likes: - picture - sweets 3
ࢿྉͪ͜Β 4 https://beal.ink/lt-clusterapi-proxmox
͓͏ͪαʔόʔͷڥ • BVͻ͔Γ )PNF/0$ • *1WΞυϨε͕͋Ε)PNF/0$ͱτϯ ωϧΛுΕΔ • *1ΞυϨεͰׂΓͯ •
ཧϊʔυ º • 7Z04ΛೖΕͯ)PNF/0$ૄ௨ͤ͞Δ ϧʔλʔ º • $FQIͷσʔλΛอଘ͢Δϊʔυ º • 7.͕ࡌΔϊʔυ º 5
͓͏ͪͷ,VCFSOFUFT • LVCFBENͰखಈߏங • )"1SPYZͰϩʔυόϥϯαʔΛߏ • UZQF-PBE#BMBODFSΛ࡞ͬͨΓ • ϒϩά.BTUPEPOɺॖϦϯΫΛӡ༻த 6
1SPYNPYΛಋೖͨ͠ • ؾܰʹϚγϯΛ࡞ͬͯյͤΔΑ͏ʹ • LTΫϥελؾܰʹ࡞ͬͯյͤΔʂʁ ˠͱΓ͋͑ͣɺLVCFBENͰखͰ࡞ 7
$MVTUFS"1*ʹઓ͠Α͏ • ษڧ݉Ͷͯɺ$MVTUFS"1*ʹઓ • ϒϥβ͔ΒΆͪΆͪͯ͠Ϋϥελ͕࡞ΕΔͷເ͕͋Δ • ϩʔυόϥϯαʔΛ֎෦ʹ͍࣋ͬͯΔ • ཧϊʔυ͕ෳ͋ΔͷͰɺεέδϡʔϦϯάΛ͍͍ײ͡ʹ͍ͨ͠ •
7.Λஔ͔ͳ͍ ετϨʔδઐ༻ ϊʔυͳͲ 8
$MVTUFS"1*ͱ • ,VCFSOFUFT4*(TͰ։ൃ͞Ε͍ͯΔϓϩδΣΫτ • ʮ$MVTUFSʯͱ͍͏ΧελϜϦιʔεΛՃͯ͠ɺίϯτϩʔϥʔ͕ ΫϥυϓϩόΠμͷ"1*Λૢ࡞͠ͳ͕Βɺ7.Λ࡞ͨ͠Γ͢Δ • LTͷએݴతͳ"1*Ͱɺ7.ͷߏΛઃఆ͢Δ͜ͱ͕Ͱ͖Δ 9
ΧελϜϦιʔε • $MVTUFS"1*Ͱʮ$MVTUFSʯͱ͍͏ϦιʔεͰΫϥελࣗମΛ ʮ.BDIJOFʯͱ͍͏ϦιʔεͰϊʔυʹԽ͚Δ7.ΛநԽ • ͍ͣΕɺʮཧΫϥελʯͱݺΕΔΫϥελͷΧελϜϦιʔε • ΫϥυϓϩόΠμଆͷ࣮ɺ$MVTUFS*OGSBTUSVDUVSF1SPWJEFS Ͱߦ͏ 10
͋͞Μߟ͑ͨ Ώʔͯ$MVTUFSϦιʔεʹର͢Δ ΧελϜίϯτϩʔϥʔͰ7.࡞ͯ͠ DMPVEJOJUͷεΫϦϓτΛࠐΊ ऴΘΔͷ͔ 11
͜͜Ͱେ͖ͳצҧ͍ • ΫϥυϓϩόΠμଆͷ࣮*OGSB$MVTUFS*OGSB.BDIJOFʹΑͬ ͯߦ͏ • 7.ͷϑϨʔόʔɺ*1ΞυϨεͳͲɺΫϥυݻ༗ͷઃఆ • $MVTUFSʹJOGSBTUSVDUVSF3FGΛઃఆ͢Δͱɺ*OGSB$MVTUFS͔Β $MVTUFS0XOFS3FGFSFODF͕ுΒΕΔ •
.BDIJNFಉ༷ 12
$MVTUFS"1*ʹΑΔΫϥελ࡞ ΧελϜϦιʔεͷ࡞ *OGSB$MVTUFSʹΑΔΫϥελͷ࡞ ϩʔυόϥϯαʔͷઃఆ *OGSB.BDIJOFʹΑΔ7.ͷ࡞ DMPVEJOJUͷ࣮ߦ $/*$4*υϥΠόͳͲɺ,VCFSOFUFT෦ͷ ΤίγεςϜͷඋ 13
1SPYNPYͰ7.Λ࡞͢Δ • "1*Λୟ͍ͯ7.Λ࡞Ͱ͖Δ • *NBHFΛಈతʹμϯϩʔυ͢ΔΈ͍ͨͳ͜ͱͰ͖ΔΒ͍͠ • ࣗݾॺ໊5-4ূ໌ॻͳͷͰ-FU`T&ODSZQUͳͲͰൃߦ͢Δͱ🙆 • ޙͰ*OGSBTUSVDUVSF1SPWJEFS͔Βୟ࣌͘ʹΤϥʔʹͳΔ •
3PVUF$MPVE%/4Λૢ࡞͠ͳ͕Βɺ%/4ݕূΛΫϦΞͰ͖Δϓϥά Πϯ͋Δ 14
ۤ࿑ • *NBHF͔Β7.͕࡞Ͱ͖ͳ͔ͬͨ • "1*Ͱ RN JNQPSUEJTL ʹ૬͢ΔΦϓγϣϯ͕ͳ͍ 8FC6*ͰͰ͖ͳ͍ •
7.࡞࣌ͷΦϓγϣϯͰɺݖݶͷͰ"1*ΩʔϢʔβʔ͕ཧϗετ ʹ֨ೲ͞Ε͍ͯΔΠϝʔδʹΞΫηεͰ͖ͳ͍ • ݁ہɺJNBHFCVJMEFSͰ࡞ͬͨ*NBHFΛݩʹɺ7.5FNQMBUFΛ࡞ • ֤ཧϊʔυʹɺࣄલඋ͢Δ PSDMPOFޙʹNJHSBUF͢Δඞཁ͕ 15
DMPVEJOJUεΫϦϓτͷੜ • LVCFBEN JOJUɺ7.ىಈޙʹɺͦͷ7.Ͱߦ͏ • DMPVEJOJUͰɺىಈ࣌ʹ࣮ߦ͢ΕΑ͍ • DMPVEJOJUεΫϦϓτɺ#PPUTUSBQ1SPWJEFSͰఏڙ • ࠓճ,VCFBEN
CBTFE#PPUTUSBQ $"#1, Λબ • ͔͠͠ɺͯͲΒͤͲDMPVEJOJUεΫϦϓτ͕ग़ͯ͜ͳ͍ʂ • DMPVEJOJUʮॳճىಈ࣌ʯ࣮ߦͳͷͰɺ͜Ε͕ͳ͍ͱىಈͰ͖ͳ͍ʂ 16
$"#1,ʹΔϩά ͜ΕΛ࡞Δͷ͕͋ͳͨͷ͡Όͳ͍ͷʂʁʂʁ 17
ؙߟ͑ͨ 18
͢Δͱฦ৴͕ 19 ٹੈओ ,$1ʮ,VCFBEN$POUSPM1MBOFʯͳͷ͔ʁ🤔
ͦͷޙ • ,VCFBEN$POUSPM1MBOFɺ*OGSB.BDIJOF5FNQMBUFΛࢀর͢Δ • ࠷ॳʮ*OGSB.BDIJOFʯΛJOGSBTUSVDUVSF3FGʹு͍͕ͬͯͨɺҧ͏Β͍͠ • *OGSB.BDIJOF5FNQMBUFϦιʔεΛ࡞ͯ͠ɺ3FGΛுΓ͢ • $3%͑͋͞Εɺ$POUSPMMFSཁΒͳͦ͞͏ʁ •
,VCFBEN$POUSPM1MBOFΛमਖ਼͢Δͱɾɾɾ 20
ੜ͑ͨ🎉 21 खͰ.BDIJOFΛ࡞Δඞཁͳ͘ ,VCFBEN$POUSPM1MBOF͕উखʹ࡞ͬͯ͘Ε͍ͯͦ͏
DMPVEJOJUͬΆ͍ͷੜ͑ͨ🎉 22
͜ͷஈ֊ͰLVCFDPOGJHੜ͑ͨ🎉 23
1SPYNPYͷ7.ʹద༻ͤ͞Δ • ௨ৗͷ"1*ͩͱɺTOJQQFU͔ΒDMPVEJOJU໘ • *40ͱಉ͘͡ɺࣄલඋ͠ͳ͍ͱɺ"1*Ϣʔβʔ͔Βར༻Ͱ͖ͳ͍ • 1SPYNPY "1*ͷ(Pϥούʔ͕͍͍ײ͡ʹͯ͘͠Ε͍ͯͨ • DMPVEJOJUΛ*40ΠϝʔδʹཱͯͯɺΞοϓϩʔυ͠ɺ7.ʹט·ͤΔͱ͍
͏Ұ࿈ͷॲཧ͕ͭͷؔͰߦΘΕΔ • ։ൃऀతʹɺTOJQQFUΛ͛Δײ֮ͰͰ͖Δ 24
ͱ͍͏ͷ͕ࠓே·ͰͷλΠϜϥΠϯ 25
͔͜͜Βઌ • DMPVEJOJUΛט·ͤͯىಈ͕ͨ͠ɺ·ͩͪΌΜͱJOJUKPJOͰ͖͍ͯ Δ͔͔Βͳ͍ • ϩʔυόϥϯαʔͷઃఆෆे • ݱঢ়Ͱ·ͩΫϥελͱͯ͠Γཱͨͳ͍ • আΞοϓσʔταϙʔτ͢Δඞཁ͕͋Δ
• $/*$4*υϥΠόͳͲͷΠϯετʔϧ 26
·ͱΊ • $MVTUFS"1*૾ΑΓΔ͔ʹෳࡶ • Ϋϥυϕϯμʔͷ࣮ͷࣗ༝Λ֬อ͢ΔͨΊʹɺͷ͕ͳ͞Ε͍ͯΔ • ެࣜ%PDTΛࣈ໘௨ΓಡΉ͚ͩͰ͠ͳ͍ • ಛʹ1SPWJEFS࣮ͳͲɺௐͳ͍ͱ͔Βͳ͍෦ଟ͍ •
طଘ࣮$MVTUFS"1*ࣗମͷιʔεΛಡΜͩΓ • LTDPNNVOJUZ ͍͔͍ͤ͞͠ • ͍ӳޠɺઙ͍ཧղͰɺ༏͘͠ڭ͑ͯ͘ΕΔ 27
͓͠·͍ 28