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
Abstract GitOps
Search
Junki Mano
July 25, 2019
Technology
1
170
Abstract GitOps
社内LT用に作成したGitOpsの概要資料です
Junki Mano
July 25, 2019
Tweet
Share
More Decks by Junki Mano
See All by Junki Mano
ソフトウェアアーキテクトって何やるの? ~知っておくと役立つ考え方を共有します~ | 技育祭2022秋
laqiiz
3
2.2k
Goで工場を制御する要であるPLCにアクセスする / go-plc
laqiiz
0
2.5k
Abstract Sentinel
laqiiz
0
110
CNCF
laqiiz
1
110
Local_Kubernetes.pdf
laqiiz
1
110
Abstract Helmfile
laqiiz
1
100
公開用_WebDBForum2018_テクノロジーショーケース_業務IoTストリーミング基盤.pdf
laqiiz
1
310
Other Decks in Technology
See All in Technology
Micro Frontends: Necessity, Implementation, and Challenges
rainerhahnekamp
0
230
React Server Componentは 何を解決し何を解決しないのか / What do React Server Components solve, and what do they not solve?
kaminashi
6
1.4k
Tirez profit de Messenger pour améliorer votre architecture
tucksaun
1
220
自分の軸足を見つけろ
tsuemura
2
370
Road to SRE NEXT@仙台 IVRyの組織の形とSLO運用の現状
abnoumaru
1
470
近年の PyCon 情勢から見た PyCon APAC のまとめ
terapyon
0
280
Re:VIEWで書いた「Compose で Android の edge-to-edge に対応する」をRoo Codeで発表資料にしてもらった
tomoya0x00
0
260
大AI時代で輝くために今こそドメインにディープダイブしよう / Deep Dive into Domain in AI-Agent-Era
yuitosato
1
100
20250408 AI Agent workshop
sakana_ai
PRO
9
1.9k
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
350
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
21k
Multitenant 23ai の全貌 - 機能・設計・実装・運用からマイクロサービスまで
oracle4engineer
PRO
2
180
Featured
See All Featured
For a Future-Friendly Web
brad_frost
176
9.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
4
510
A designer walks into a library…
pauljervisheath
205
24k
Six Lessons from altMBA
skipperchong
27
3.7k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Faster Mobile Websites
deanohume
306
31k
Transcript
GitOps Future-Daily-Standup-Meeting Kubernetes Ecosystem Study Mano Junki
What GitOps?
GitOpsとは • 「宣言的」なインフラ定義と、Gitを組み合わせたワークフロー • Kubernetesはその手段と言い張る強さ 引用: https://www.infoq.com/jp/news/2018/11/gitops-weaveworks/
GitOps Workflow Git (Code) Git (Manifests) CI CD Container Image
Register Kubernetes Cluster 1. コード変更 & PRレビュー イメージビルド 2. マニフェスト変更 & PRレビュー イメージタグの更新 kubectl diff による差分確認 kubectl apply
簡単に言うと.. ifコードのPRが上がってマージ ⇨コンテナイメージがビルドされる ⇨コンフィグ変更のPRが上がる if コンフィグのPRが上がってマージ ⇨CDが即デプロイ
GitOpsガイドライン 1. Gitを真実の情報源(source of truth)とする • ※コンテナイメージをプッシュするのではない • ※CodeとManifestのリポジトリは分離 2.
KubernetesのCLIツールである“kubectl”を直接使用しないこと • ※ 使ったら負け 3. “オペレータパターン(operator pattern)”に従ってKubernetesコント ローラを使用すること • ※Gitベースの“真実の情報源”と常に同期するようにクラスタを設定する。要は、diff とsyncツールを活用しようってこと
None
参考URL • https://www.infoq.com/jp/news/2018/11/gitops-weaveworks/ • https://thinkit.co.jp/article/14164