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
GitOpsでJobの 実行と管理どうしてます?
Search
dulltz
December 22, 2020
Programming
0
980
GitOpsでJobの 実行と管理どうしてます?
Kubernetes Meetup Tokyo #37 の LT 資料です
https://k8sjp.connpass.com/event/197875/
dulltz
December 22, 2020
Tweet
Share
More Decks by dulltz
See All by dulltz
プライベートクラウドのサービス運用環境をK8sで改善する話
dulltz
7
4k
ツラくないクラウド運用環境を作る
dulltz
0
1.1k
Other Decks in Programming
See All in Programming
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
CSC509 Lecture 11
javiergs
PRO
0
180
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
890
Ethereum_.pdf
nekomatu
0
460
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.7k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
ヤプリ新卒SREの オンボーディング
masaki12
0
130
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
140
cmp.Or に感動した
otakakot
3
200
Jakarta EE meets AI
ivargrimstad
0
580
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
What's new in Ruby 2.0
geeforr
343
31k
Designing the Hi-DPI Web
ddemaree
280
34k
Embracing the Ebb and Flow
colly
84
4.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Adopting Sorbet at Scale
ufuk
73
9.1k
Visualization
eitanlees
145
15k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Transcript
(JU0QTͰ+PCͷ ࣮ߦͱཧͲ͏ͯ͠·͢ʁ 5BLBIJSP5TVSVEB!EVMMU[
͢͜ͱ w +PCͷ(JU0QTཧʹ͓͚ΔࠔͬͨϙΠϯτͱɺղܾҊΛհ w جૅతͳτϐοΫա͗ͯ-5͢ΔͷएׯጨΒΕΔ͕ɺҙ֎ͱ୭ ͜ͷΛ͍ͯ͠ͳ͍ؾ͕͢Δ w Ή͠Ζօ͞ΜͲ͏ͯ͠·͢ʁڭ͑ͯԼ͍͞
+PC w ϫϯγϣοτܕͷϫʔΫϩʔυΛىಈ͢ΔͨΊͷϦιʔε w ࢦఆͷ1PEΛىಈ͠ɺͦΕΒ͕ਖ਼ৗऴྃͨ͠ΒDPNQMFUF w IUUQTLVCFSOFUFTJPEPDTDPODFQUTXPSLMPBETDPOUSPMMFST KPC
(JU0QT w ܧଓతσϦόϦͷ̍ͭͷΓํ w (JUϦϙδτϦΛ୯Ұιʔεͱ͠ɺͦͷϦϙδτϦͷૢ࡞Λհ ͯ͠ద༻ΦϖϨʔγϣϯΛߦ͏
,VCFSOFUFTΫϥελ্ͷ(JU0QT w "SHP$%ɺ'MVYͷΑ͏ͳ1VMMܕ(JU0QTπʔϧ͕ਓؾ SFGIUUQTXXXXFBWFXPSLTUFDIOPMPHJFTHJUPQT
1VMMܕ(JU0QTπʔϧͷ༻Πϝʔδ ϚχϑΣετ:".-Λ࡞ LVTUPNJ[BUJPOZBNMͷSFTPVSDFTʹϑΝΠϧ໊Λه 13Λ࡞ 13ΛϚʔδͯ͠σϓϩΠ༻ϒϥϯνΛߋ৽
ϚχϑΣετϦϙδτϦ্ͷLVTUPNJ[BUJPOZBNMΛࢹͯ͠ ͍Δ(JU0QTπʔϧ͕LVCFDUMBQQMZ͢Δ
(JU0QTͱ+PCͷ૬ੑͷѱ͞
(JU0QTͱ+PCͷ૬ੑͷѱ͞ w +PCͷ1PE5FNQMBUFJNNVUBCMFͳͷͰɺߋ৽࣌ͷLVCFDUM BQQMZ͍͍ࣦͨͯഊ͢Δɻ w TQFDUFNQMBUF*OWBMJEWBMVFGJFMEJTJNNVUBCMF
(JU0QTͱ+PCͷ૬ੑͷѱ͞ w +PCϚχϑΣετ͕มߋ͞Ε͔ͨΒͱ͍ͬͯ+PCΛىಈ͍ͨ͠ͱ ݶΒͳ͍
ղܾҊ
ҊLVCFDUMBQQMZʹGPSDFΦϓγϣϯΛ ͚Δ w +PCΛߋ৽͢ΔΘΓʹ࠶࡞͢Δ͜ͱͰରԠ ҎԼͷ݅Λຬͨ͢ඞཁ͕͋Δ w GPSDFΦϓγϣϯΛαϙʔτ͍ͯ͠ΔπʔϧΛ͍ͬͯΔ "SHP$% w +PC͕ႈͰ͋Δ
w ແବͳ+PCىಈʹΑΔϦιʔεফඅΛڐ༰Ͱ͖Δ
ҊΧελϜίϯτϩʔϥಋೖ w 5FLUPO "SHP8PSLGMPXTͳͲ
ҊΧελϜίϯτϩʔϥಋೖ 1SPT w LVCFDUMBQQMZͰߋ৽Մೳ $POT w αʔυύʔςΟΧελϜίϯτϩʔϥͷཧίετ
Ҋ(JU0QTπʔϧͰཧ͠ͳ͍ w (JUϦϙδτϦͰϚχϑΣετΛཧ͢Δ͕ɺ"SHP$%'MVYͰ LVCFDUMBQQMZ͢ΔରʹؚΊͳ͍ɻ ىಈ͍ͨ͠ͱ͖खಈʢ͋Δ͍$*ʣͰLVCFDUMBQQMZ࣮ߦ
Ҋ(JU0QTπʔϧͰཧ͠ͳ͍ 1SPT w $3%ෆཁ w $POT w LVTUPNJ[BUJPOZBNMʹهࡌ͍ͯ͠ͳ͍ϚχϑΣετ͕͋ΔͷͳΜͱ ͳ͘ҧײʜɻ ALVTUPNJ[FCVJMEcDPOGUFTUUFTUrAͱ͔ͰϚχϑΣετϦϙδτϦͷ
ςετ͠·͢ΑͶ
Ҋఀࢭͨ͠$SPO+PC͔Β+PCΛదٓ࡞ w ͜ΕͰͬͯ·͢ w ఀࢭͨ͠$SPO+PCΛ(JU0QTͰཧ͢Δ w spec: suspend: true concurrencyPolicy:
Forbid w +PCΛىಈ͍ͨ͠ͱ͖ALVCFDUMDSFBUFKPCKPCOBNF GSPNDSPOKPCDSPOKPCOBNFA
Ҋఀࢭͨ͠$SPO+PC͔Β+PCΛదٓ࡞ w 1SPT w $3%ෆཁ w ҊͷσϝϦοτ͕ແ͍ w $POT w
(JUϦϙδτϦ͕୯ҰιʔεͰ͋Δͱ͍͏ϧʔϧʹଇΔͳΒɺ(JUϦϙδ τϦ͔ΒLVCFDUMΛ࣮ߦ͢ΔͨΊͷ$*ͷ࡞ΓࠐΈ͕ඞཁ w +PCΛ($͢Δίϯτϩʔϥ͕͍ͳ͍ w +PCͷUFNQMBUFͷ࣮ߦ্࣌ॻ͖͕ͮ͠Β͍
+PCΛ($͢Δํ๏ w +PC࡞લʹݹ͍+PCΛআ͢Δ ݪ࢝తͳҊ w TQFDUUM4FDPOET"GUFS'JOJTIFEΛηοτ͢Δ w 55-$POUSPMMFS"MQIBػೳɻ&,4Ͱ·ͩ͑ͳ͍ɻ w
IUUQTLVCFSOFUFTJPEPDTDPODFQUTXPSLMPBETDPOUSPMMFST UUMBGUFSGJOJTIFE w ˢͷସπʔϧ w IUUQTHJUIVCDPNMXPMGLVCFDMFBOVQPQFSBUPS
·ͱΊ w +PCͷ(JU0QTཧͱͯ͠ɺࠓఀࢭͨ͠$SPO+PC͔Β+PCΛ࡞ͬ ͍ͯ·͢ w ͔͜͠͠Ε͕ϕετͩͱࢥͬͯͳ͍ w ͍͍ΞΠσΞ͕͋ͬͨΒڭ͑ͯԼ͍͞