Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
[CNDT2021]Kubernetes GitOps with Rancher Continuous Delivery
Wenhan Shi
November 02, 2021
Technology
0
59
[CNDT2021]Kubernetes GitOps with Rancher Continuous Delivery
Wenhan Shi
November 02, 2021
Tweet
Share
More Decks by Wenhan Shi
See All by Wenhan Shi
Using Kong ingress controller for K3s
xibuka
0
52
Kong Academyを日本語でお届け!#3
xibuka
0
28
Kong Academyを日本語でお届け!#2
xibuka
1
92
Kong Gateway 入門編-101
xibuka
0
130
Fleet アーキテクチャ Deep Dive
xibuka
0
110
[CNDT2021]Kubernetes GitOps with Rancher Continuous Delivery - Hands-on
xibuka
0
13
Cloud Native Storage Meetup #1 Longhorn
xibuka
1
140
どこでもKubernetes
xibuka
0
150
CloudNative時代の機械学習基盤をk3s+jetsonではじめよう
xibuka
1
280
Other Decks in Technology
See All in Technology
JAWS-UG re:Habilitaion 報告 / JAWS-UG OITA rehabilitation
hiranofumio
0
130
What's Data Lake ? Azure Data Lake best practice
ryomaru0825
2
760
RDRA + JavaによるレジャーSaaSプロダクトの要件定義と実装のシームレスな接続
jjebejj
PRO
3
770
ノーコードで Stripeを使いこなす3つの方法 / jp-stripes-online-vol-4
stripehideokamoto
0
320
Accelerated Computing for NLP on AWS
shokout
1
260
Swift Regex Builder
kumamotone
1
110
Lessons Learned from Scaling Infrastructure as Code
joatmon08
0
800
FastConnect 冗長性のベスト・プラクティス
ocise
0
130
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
10
18k
Modern Android dependency injection
hugovisser
1
140
SlackBotで あらゆる業務を自動化。問い合わせ〜DevOpsまで #CODT2022
kogatakanori
0
1k
The Fractal Geometry of Software Design
vladikk
1
1.3k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
85
3.9k
Designing for humans not robots
tammielis
241
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
Designing Experiences People Love
moore
130
22k
Making Projects Easy
brettharned
98
4.3k
The Language of Interfaces
destraynor
148
20k
A designer walks into a library…
pauljervisheath
196
16k
Gamification - CAS2011
davidbonilla
75
3.9k
Testing 201, or: Great Expectations
jmmastey
21
5.4k
Building an army of robots
kneath
299
40k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
236
1M
Imperfection Machines: The Place of Print at Facebook
scottboms
253
12k
Transcript
© Copyright 2021 Rancher. All Rights Reserved. 1 © Copyright
2021 Rancher. All Rights Reserved. 1 Kubernetes GitOps with Rancher Continuous Delivery 2nd Nov 2021 Wenhan Shi Support Engineer
© Copyright 2021 Rancher. All Rights Reserved. 2 GitOpsで百万単位の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. 5 Web UI
© Copyright 2021 Rancher. All Rights Reserved. 6 Cluster Group
Hands-on:環境 commit Deploy Deploy Monitoring
© Copyright 2021 Rancher. All Rights Reserved. 7 Hands-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 upgrade Hands-on URL: https://learn.na.hobbyfarm.io/ Access code: cndt2021fleet
© Copyright 2021 Rancher. All Rights Reserved. 8 8 Thank
you