EKS(Kubernetes)導入前のCI/CD
Deploy Config
Prod
CI/CD
Pipeline
Stage
Test
Application
CI Tool
Slide 15
Slide 15 text
EKS(Kubernetes)導入前のCI/CD
Deploy Config
Prod
CI/CD
Pipeline
Stage
Test
Application
CI Tool
RUN
Slide 16
Slide 16 text
EKS(Kubernetes)導入前のCI/CD
Deploy Config
Prod
CI/CD
Pipeline
Stage
Test
Application
CI Tool
Pull
Pull
Slide 17
Slide 17 text
EKS(Kubernetes)導入前のCI/CD
Deploy Config
Prod
CI/CD
Pipeline
Stage
Test
Application
CI Tool
Build
Slide 18
Slide 18 text
EKS(Kubernetes)導入前のCI/CD
Deploy Config
Prod
CI/CD
Pipeline
Stage
Test
Application
CI Tool
Deploy
Deploy
Deploy
Slide 19
Slide 19 text
EKS(Kubernetes)導入後
Slide 20
Slide 20 text
EKS(Kubernetes)導入後
Deploy Config
Prod Cluster
CI/CD
Pipeline
Stage Cluster
Test Cluster
Application
CI Tool
Deploy
Deploy
Deploy
Slide 21
Slide 21 text
EKS(Kubernetes)導入後
Deploy Config
Old Prod
CI/CD
Pipeline
Old Stage
Old Test
Application
CI Tool
Deploy
Deploy
Deploy
New Prod
New Stage
New Test
Blue
Green
Slide 22
Slide 22 text
EKS(Kubernetes)導入後
Deploy Config
Old Prod
CI/CD
Pipeline
Old Stage
Old Test
Application
CI Tool
Deploy
Deploy
Deploy
New Prod
New Stage
New Test
Blue
Green
クラスタが追加される度にデプロイ先の変更
Immutable Cluster、Blue/Greenデプロイ対応のためのクラスタ数の増加
移行期間中の並行稼動時のデプロイ先指定
EKSのアップデートポリシーに追随するため3〜4ヶ月おきに発生・・・
Blue
Green
Immutable Cluster環境にGitOps
Deploy Config
Old Prod
Old Stage
Old Test
Application
New Prod
New Stage
New Test
Sync
Sync
Sync
Sync
Sync
Sync
Slide 26
Slide 26 text
Blue
Green
Immutable Cluster環境にGitOps
Deploy Config
Old Prod
Old Stage
Old Test
Application
New Prod
New Stage
New Test
Sync
Sync
Sync
Sync
Sync
Sync
クラスタ構築時にアプリケーションの
デプロイまで完了
Slide 27
Slide 27 text
2
GitOpsによる
ChatworkのCI/CD
Slide 28
Slide 28 text
構成とフロー
Slide 29
Slide 29 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Slide 30
Slide 30 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Slide 31
Slide 31 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Slide 32
Slide 32 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Push
Slide 33
Slide 33 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Build
Slide 34
Slide 34 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Update
Sync
CI Pipeline
CD Pipeline
Push
Slide 35
Slide 35 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Out Of Sync
CI Pipeline
CD Pipeline
Slide 36
Slide 36 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
kubectl apply
Manifest
CI Pipeline
CD Pipeline
Out Of Sync
Slide 37
Slide 37 text
ChatworkのCI/CD
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
Sync
CI Pipeline
CD Pipeline
Slide 38
Slide 38 text
組織と役割
Slide 39
Slide 39 text
組織と役割
Developer
SRE
Application
k8s Config
Helmfile
Charts
Container
Registry
Kubernetes Cluster
CI Pipeline
CD Pipeline