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
Argo CD で GitOps してみた
Search
po3rin
August 25, 2020
Programming
3
850
Argo CD で GitOps してみた
po3rin
August 25, 2020
Tweet
Share
More Decks by po3rin
See All by po3rin
M3におけるCI/CDパイプラインを新鮮に保つ仕組み
po3rin
0
270
Go Templateを使った フロントエンド開発を採用した 経緯と所感
po3rin
0
280
検索基盤移行時の思考
po3rin
0
4.2k
Go1.19で採用された Pattern-defeating Quicksort の紹介
po3rin
7
5.5k
Elasticsearchを負荷から守るesguard
po3rin
0
230
Sudachi×Elasticsearchへの移行と医療検索システム精度改善
po3rin
1
820
eskeeperを使ったファイル定義によるindex管理
po3rin
2
450
M3 情報検索/推薦論文輪読会 ~SIGIR祭~ (SIGIR2021: Session 6D – IR Models)
po3rin
0
76
Handling Temporal Query for Health Search with ja-timex
po3rin
3
300
Other Decks in Programming
See All in Programming
Ethereum_.pdf
nekomatu
0
450
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
630
現場で役立つモデリング 超入門
masuda220
PRO
15
3.2k
Tauriでネイティブアプリを作りたい
tsucchinoko
0
360
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.8k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
CSC509 Lecture 11
javiergs
PRO
0
180
登壇をはじめよう / Getting Started with Presentations
mackey0225
1
260
Jakarta EE meets AI
ivargrimstad
0
460
JavaでLチカしたい! / JJUG CCC 2024 Fall LT
nhayato
0
140
C++でシェーダを書く
fadis
6
4.1k
Quine, Polyglot, 良いコード
qnighy
4
640
Featured
See All Featured
Optimizing for Happiness
mojombo
376
70k
Happy Clients
brianwarren
98
6.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Statistics for Hackers
jakevdp
796
220k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Designing for Performance
lara
604
68k
4 Signs Your Business is Dying
shpigford
180
21k
Six Lessons from altMBA
skipperchong
27
3.5k
Transcript
"SHP$%Ͱ(JU0QTͯ͠Έͨ ,VCFSOFUFT/PWJDF5PLZP"VH CZQPSJO
pon ( @po3rin ) ݕࡧͱ͔ΔσʔλΤϯδχΞɻ (PΛΑ͘ॻ͘ɻίϯςφ͖ɻ
Introduction \
&,4Ͱӡ༻ͯ͠Δϒϩά✌ QPSJODPN
ϒϩάͷΞʔΩςΫνϟ✌
Solution \
(JU0QTΫϥυωΠςΟϒͳΞϓϦͷ ܧଓతσϓϩΠΛ࣮͢Δํ๏ͷҰͭͰ ͢ɻΠϯϑϥετϥΫνϟΛϦϙδτϦ ʹهड़͞Εͨঢ়ଶʹҰகͤ͞ΔࣗಈԽ ϓϩηεΛ࣮ߦ͠·͢ɻ 8IBU`T(JU0QT
͜Ε͕σϓϩΠͷཧܗɻ(JU)VCʹLTͷϚχϑΣετΛมߋͯ͠QVTIͨ͠ΒɺͦΕ͕ө͞ΕΔɻ (JU0QT 1VTI 8BUDI4ZOD
͜ͷΑ͏ͳ(JU0QTΛ࣮ݱ͢Δ"SHP$%ͳͲͷΦʔϓϯιʔε͕ଟଘࡏ͢Δɻ (JU0QT 1VTI 8BUDI 4ZOD
Flux CD ͱ Argo CD ɺGitOps Λ࣮ݱ͢ΔͨΊ ͷΦʔϓϯιʔεͷπʔτοϓͰ͢ɻ (JU0QT
"SHP$%લ৬Ͱ͓ͬͯΓɺࣗͰ ઃఆͰ͖ΔΑ͏ʹͳ͓͖͍ͬͯͨͱ͍͏ ҆ͳཧ༝Ͱϒϩάʹ"SHP$%Λ࠾༻ɻ "SHP$%
"SHP$%(JU)VCͷϦϙδτϦΛৗʹXBUDI͠ɺݱঢ়ͱͷࠩΛݕ͠ɺઃఆΛࣗಈ·ͨखಈͰ ࠶ಉظ͠·͢ɻ͍͢͝ʂʂ "SHP$% 1VTI 8BUDI 4ZOD .BOJGFTUT3FQP
"SHP$%ͷσϞ
(JU0QTͰ"QQMJDBUJPO3FQPଆͰΠϝʔδΛϏϧυͨ͠ΒͦͷͰผ్ɺ:".-Λฤूͯ͠QVTI͢ Δඞཁ͕͋Δɻݸਓ։ൃͳͷͰճQVTI໘ɻ "SHP$% 1VTI 8BUDI 4ZOD .BOJGFTUT3FQP *NBHF "QQMJDBUJPO3FQP
1VTI
ຊདྷZBNMͷߋ৽ࣗಈԽ͍ͨ͠ͱ͜ΖɻಛʹݸਓϒϩάͷΑ͏ͳͷͳΒঘߋɻ࣮ࡍ"SHP$%ʹ ΊͬͪΌཁग़ͯΔɻ͔͠͠ɺ"SHP$%ͦΕ(JU0QTͷൣғ֎ͱͯ͋͠·ΓΓؾ͡Όͳ͔ͬͨɻ "SHP$% 1VTI 8BUDI 4ZOD .BOJGFTUT3FQP *NBHF ͍͍ײ͡ʹ.BOJGFTUΛ
ࣗಈͰฤू͍ͨ͠ "QQMJDBUJPO3FQP
ͦͦ"QQMJDBUJPO3FQPͱ.BOJGFTUT3FQPΛ͚Δඞཁ͋Δͷ͔ɻ͜Ε"SHPͷެࣜϒϩ άͰݴٴ͞Ε͍ͯΔ(JU0QT#FTU1SBDUJDFTͷҰͭɻ "SHP$% IUUQTCMPHBSHPQSPKJPHJUPQTCFTUQSBDUJDFTEDCDCF⒎
"SHP$%*NBHF6QEBUFS "SHP$%Λઃఆͨ࣍͠ͷि͘Β͍ʹNBOJGFTUͷJNBHFߋ৽͢ΔͭͰ͖ͯͨXXX ·ͩϓϨϦϦʔεͳͷͰຊ൪ʹ͑ͳ͍ͷͰࠓޙʹظɻ
·ͱΊΔͱ"QQMJDBUJPO3FQPͷ$*Ͱ.BOJGFTUT3FQPͷ༰Λमਖ਼ͯ͠QVTI͍ͨ͠ɻͯ͞Ͳ͏ ͢Δ͔ɻɻૂͬͨZBNMͷҰ෦Λ؆୯ʹमਖ਼Ͱ͖Δπʔϧ͕ZR ZR 1VTI 8BUDI 4ZOD .BOJGFTUT3FQP *NBHF ͍͍ײ͡ʹ.BOJGFTUΛ
ࣗಈͰฤू͍ͨ͠ "QQMJDBUJPO3FQP
ZRܰྔͰϙʔλϒϧͳίϚϯυϥΠϯ:".-ϓϩηοαZBNMϑΝΠϧಛԽͷKR·ͨTFEʹͳΔ͜ ͱΛඪͱ͍ͯ͠Δɻ ZR
ZRͰZBNMͷૂͬͨϑΟʔϧυΛ؆୯ʹฤ ूͰ͖Δɻ͜ΕΛ(JU)VC"DUJPOTͰߦͳͬ ͯɺฤूͨ͠Βͦͷ··QVTI͢Δɻ ZR
ZRΛͬͯ"QQMJDBUJPO3FQPͷQVTI͔ΒσϓϩΠ·ͰͷࣗಈԽ͕ͨ͠ɻ ZR 1VTI 8BUDI 4ZOD .BOJGFTUT3FQP *NBHF ZRͰ.BOJGFTUΛ ฤू͍ͨ͠
"QQMJDBUJPO3FQP
Appendix \
"SHP$%%FDMBSBUJWF4FUVQ "SHP$%ͷઃఆએݴతʹͰ͖ΔɻݸਓϒϩάͰҠߦதɻ
(JU0QTͷจ຺ͰσϓϩΠ͍ΘΏΔ1VMMܕWT1VTIܕͷٞʹͳΔɻ1VMMܕݖݶɺෳࡶੑഉআʹޮ͍ͯ͘Δɻ ɾ1VMMܕͷํൿີใΛ֎෦ʹͣ͞ʹ,VCFSOFUFTͰ݁Ͱ͖Δɻ ɾ1VMMܕʹ͢Δͱσʔλ֨ೲϦϙδτϦ͕Πϯϑϥʹґଘ͠ͳ͘ͳΔɻ 1VTIܕWT1VMMܕ 1VTI 'FUDI 4ZOD 4ZOD 1VMMܕ 1VTIܕ
)PDL LTͷ 83*5&͕ඞཁ ϦϙδτϦͷ 3&"%ݖݶ͚ͩ 1VTI
YDSZQUPTTIJTTVF 44)ΩʔʹΑΔೝূ(PͷYDSZQUPTTIύοέʔδʹ͋Δ1BSTF1SJWBUF,FZ8JUI1BTTQISBTF ؔͰ͕͢ɺ"SHP$%͕͍ͬͯΔόʔδϣϯ0QFO44)ܗࣜͷύεϑϨʔζ͖ൿີ伴ʹର Ԡ͓ͯ͠ΒͣΤϥʔʹͳΔɻɻ https://github.com/argoproj/argo-cd/issues/1894#issuecomment-667014961
Conclusion \
(JU0QTΫϥυωΠςΟϒͳΞϓϦͷܧଓతσϓϩΠΛ࣮͢Δํ๏ͷҰͭɻ (JU0QTΛ࣮ݱ͢ΔͨΊʹ"SHP$%'MVY$%Λ͏ͷ͕ศརɻ ίϯςφΠϝʔδͷϏϧυ͔ΒϦϦʔε·Ͱ͍ͨ͠ͳΒZRͱ͔͏ɻ 'MVY$%ͦ͏͍͏ػೳ͕͋Δɻ"SHP$%ϕʔλ൛Ͱ͍ۙػೳ͕͋Δɻ
໌ൃද͢ΔXXX
"SHP$%Ͱ(JU0QTͯ͠Έͨ ,VCFSOFUFT/PWJDF5PLZP"VH CZQPSJO