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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Junki Mano
July 25, 2019
Technology
220
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Abstract GitOps
社内LT用に作成したGitOpsの概要資料です
Junki Mano
July 25, 2019
More Decks by Junki Mano
See All by Junki Mano
ソフトウェアアーキテクトって何やるの? ~知っておくと役立つ考え方を共有します~ | 技育祭2022秋
laqiiz
3
2.3k
Goで工場を制御する要であるPLCにアクセスする / go-plc
laqiiz
0
3k
Abstract Sentinel
laqiiz
0
150
CNCF
laqiiz
1
170
Local_Kubernetes.pdf
laqiiz
1
160
Abstract Helmfile
laqiiz
1
140
公開用_WebDBForum2018_テクノロジーショーケース_業務IoTストリーミング基盤.pdf
laqiiz
1
440
Other Decks in Technology
See All in Technology
20260903 Tokyo Jazug Night #62 | Azure エンジニアよ、 その環境は本当にセキュアか?
olivia_0707
1
270
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
290
「ミスを許さない手順書」を作ってみた 〜 個人的にはこれ以上できることはあまりなさそう/20260827-ssmjp-operation-procedure-update
opelab
17
17k
Kiro Crewしか勝たん!?
miu_crescent
PRO
0
120
【Oracle AI Spotlight ウェビナー】AWSか、Azureか、Google Cloudか。その議論にオラクルを含める意義。
oracle4engineer
PRO
1
190
多摩川(.dev)ランニング入門 / Tamagawa.dev#3
fujiwara3
1
120
[RSJ26] Flow as Flow: Modeling Robot Velocity Fields as Probability Velocity Fields
keio_smilab
PRO
0
170
PdMをやめて、 "プロダクトビルダー"という 働き方に変えました / PdM to Product Builder
shikichee
2
610
Introduction to Bill One Development Engineer
sansan33
PRO
0
490
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.5k
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
130
Master Dataグループ紹介資料
sansan33
PRO
1
4.9k
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
480
Test your architecture with Archunit
thirion
2
2.4k
How to Ace a Technical Interview
jacobian
281
24k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
We Have a Design System, Now What?
morganepeng
55
8.3k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
830
BBQ
matthewcrist
89
10k
Paper Plane
katiecoart
PRO
2
53k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bash Introduction
62gerente
615
220k
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