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
200
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.7k
Abstract Sentinel
laqiiz
0
130
CNCF
laqiiz
1
130
Local_Kubernetes.pdf
laqiiz
1
130
Abstract Helmfile
laqiiz
1
120
公開用_WebDBForum2018_テクノロジーショーケース_業務IoTストリーミング基盤.pdf
laqiiz
1
350
Other Decks in Technology
See All in Technology
映像エッジAIにおけるNode-RED活用事例
emirmatsui
0
140
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
200
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3k
「タコピーの原罪」から学ぶ間違った”支援” / the bad support of Takopii
piyonakajima
0
130
AIとともに歩んでいくデザイナーの役割の変化
lycorptech_jp
PRO
0
810
「魔法少女まどか☆マギカ Magia Exedra」におけるバックエンドの技術選定
gree_tech
PRO
0
110
Digitization部 紹介資料
sansan33
PRO
1
5.7k
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
280
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
450
AI時代の開発を加速する組織づくり - ブログでは書けなかったリアル
hiro8ma
1
270
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
A designer walks into a library…
pauljervisheath
209
24k
The Invisible Side of Design
smashingmag
302
51k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Typedesign – Prime Four
hannesfritz
42
2.8k
Faster Mobile Websites
deanohume
310
31k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Git: the NoSQL Database
bkeepers
PRO
431
66k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
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