© Copyright 2021 Rancher. All Rights Reserved. 1© Copyright 2021 Rancher. All Rights Reserved. 1Kubernetes GitOps withRancher Continuous Delivery2nd Nov 2021Wenhan ShiSupport Engineer
View Slide
© Copyright 2021 Rancher. All Rights Reserved. 2GitOpsで百万単位のKubernetes クラスタを一元管理Rancher Continuous Delivery -• Rancherが開発した独立のプロジェクト - https://github.com/rancher/fleet• CNCF認証のクラスタならデプロイ可能• Rancher v2.5/v2.6 built-in• k8s 標準APIと連携するk8s controller• Policy/APP/infraなどを操作可能• クラスタをグルーピングして操作可能• UIでステータスを可視化
© Copyright 2021 Rancher. All Rights Reserved. 3アーキテクチャFleet Controller— Rancherサーバで実行— Git repositoryと通信Fleet Agents— 各Downstream cluster で実行— Fleet Controllerとsync-up— Helmでresourcesをデプロイ
© Copyright 2021 Rancher. All Rights Reserved. 4アーキテクチャBundle— クラスタにデプロイするリソースのコレクション— 設定されたGitRepoの内容をベースにFleetより自動生成— Bundleの内容– Kubernetes resource manifests– Kustomize templates– Helm charts
© Copyright 2021 Rancher. All Rights Reserved. 5Web UI
© Copyright 2021 Rancher. All Rights Reserved. 6ClusterGroupHands-on:環境commitDeploy DeployMonitoring
© Copyright 2021 Rancher. All Rights Reserved. 7Hands-on:内容• Fleet 基本設定• Cluster group• GitRepo• Workloadのデプロイ&アップグレード• folk : https://github.com/rancher/fleet-examples• Rancher Appのデプロイとアップデート• https://github.com/ibrokethecloud/core-bundles• https://github.com/ibrokethecloud/user-bundles• k3s cluster upgradeHands-on URL: https://learn.na.hobbyfarm.io/Access code: cndt2021fleet
© Copyright 2021 Rancher. All Rights Reserved. 8 8Thank you