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
280
Go Templateを使った フロントエンド開発を採用した 経緯と所感
po3rin
0
290
検索基盤移行時の思考
po3rin
0
4.2k
Go1.19で採用された Pattern-defeating Quicksort の紹介
po3rin
7
5.6k
Elasticsearchを負荷から守るesguard
po3rin
0
240
Sudachi×Elasticsearchへの移行と医療検索システム精度改善
po3rin
1
830
eskeeperを使ったファイル定義によるindex管理
po3rin
2
450
M3 情報検索/推薦論文輪読会 ~SIGIR祭~ (SIGIR2021: Session 6D – IR Models)
po3rin
0
82
Handling Temporal Query for Health Search with ja-timex
po3rin
3
310
Other Decks in Programming
See All in Programming
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Symfony Mapper Component
soyuka
2
730
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
1k
CSC305 Lecture 26
javiergs
PRO
0
140
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
快速入門可觀測性
blueswen
0
330
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
920
Recoilを剥がしている話
kirik
5
6.6k
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.2k
The Language of Interfaces
destraynor
154
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Done Done
chrislema
181
16k
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