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
Rancher Labsのプロダクト/プロジェクト一挙紹介
Search
Wenhan Shi
June 29, 2020
Technology
0
500
Rancher Labsのプロダクト/プロジェクト一挙紹介
RancherJP Online Meetup #1
#Rancher #rke #k3s #longhorn #k3os #submariner #rio #fleet
Wenhan Shi
June 29, 2020
Tweet
Share
More Decks by Wenhan Shi
See All by Wenhan Shi
Kongではじめる APIマネジメント入門編
xibuka
0
140
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
25
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
240
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
140
Kong の最新情報
xibuka
0
110
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
580
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
150
Kong Summit 2022まとめおよび最新製品情報
xibuka
0
130
[Kong Gateway]Product Overview, Strategy, and Roadmap Update
xibuka
0
340
Other Decks in Technology
See All in Technology
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.5k
【LT】ソフトウェア産業は進化しているのか? #Agilejapan
takabow
0
110
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
1
320
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.8k
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
39
13k
組織成長を加速させるオンボーディングの取り組み
sudoakiy
3
280
Next.jsとNuxtが混在? iframeでなんとかする!
ypresto
2
740
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
730
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
150
"とにかくやってみる"で始めるAWS Security Hub
maimyyym
2
110
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
140
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
How STYLIGHT went responsive
nonsquared
95
5.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Being A Developer After 40
akosma
87
590k
Six Lessons from altMBA
skipperchong
27
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
How to train your dragon (web standard)
notwaldorf
88
5.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Building Applications with DynamoDB
mza
90
6.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
17k
Transcript
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 1
© Copyright 2020 Rancher Labs. All Rights Reserved. 1 RancherJP Online Meetup #1 3BODIFS-BCTͷ ϓϩμΫτϓϩδΣΫτҰڍհʂ 2020/06/29 Wenhan Shi Rancher Lab, Support Engineer
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 2
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 2 ࢪ จᷨ ʢγ ϒϯΧϯʣ 8FOIBO4IJ !TIJ@XFOIBO ܦྺ • ཱ࡞ॴ -JOVY ΧʔωϧϞδϡʔϧͷอकαϙʔτ • 3FE)BU,, (MVTUFS'40QFO4IJGUαϙʔτ • $BOPOJDBM+BQBO,, 6CVOUV0QFO4UBDL,VCFSOFUFTαϙʔτ • 3BODIFS-BC*OD 4VQQPSU&OHJOFFS ࣗݾհ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 3
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 3 Rancher Lab products / projects
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 4
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 4 Rancher Lab products / projects 7 7 7 LT 7 WSD WSD W W
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 5
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 5 https://rancher.com/products/rke/ RKE(Rancher Kubernetes Engine) ΫϥυɺΦϯϓϨϛεɺٴͼϩʔΧϧڥʹ ,VCFSOFUFTΫϥελΛσϓϩΠͰ͖Δ$-*πʔϧ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 6 RKEの特徴 § 3FRVJSNFOUT • Docker • SSH password-less login
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 7
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 7 RKEの使い方 - GUI
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 8
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 8 RKEの使い方 - CLI Ϋϥελ༻ͷϊʔυΛ༻ҙ 3,&ఆٛϑΝΠϧΛ࡞ʢଞͷྫʣ ASLF VQAίϚϯυͰΫϥελߏங
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 9
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 9 https://k3s.io/ K3s $/$'ެࣜͷೝূ͖ͷܰྔͳ,VCFSOFUFTσΟετϦϏϡʔγϣϯ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 10
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 10 K3sの特徴 § ϋʔυΣΞ࠷খߏɿ.#NFNPSZɺ$16 § ετϨʔδɿTRMJUF EFGBVMU .ZTRM 1PTUHSFT FUDE § $POUBJOFS 3VOUJNFɿDPOUBJOFSE EFGBVMU EPDLFS § $16ΞʔΩςΫνϟɿY@ "3.W "3.
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 11
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 11 K3sの特徴 § ҰͭͷόΠφϦʢ.#ʣʹ·ͱΊͨ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 12
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 12 https://rancher.com/docs/k3s/latest/en/quick-start/ K3sの使い方 LTϚελʔϊʔυߏங ΫϥελΛ֬ೝ 8PSLFSϊʔυՃ curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh - curl -sfL https://get.k3s.io | sh - k3s kubectl get node K3S_TOKEN is at /var/lib/rancher/k3s/server/node-token on your server node.
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 13
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 13 K3sの使い方 - その他 § %PDLFS$PNQPTF • https://github.com/rancher/k3s/blob/master/docker-compose.yml • https://github.com/rancher/k3s/blob/master/docker-compose-agent.yml § LE LTJO%PDLFS • https://github.com/rancher/k3d
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 14
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 14 https://longhorn.io/ Longhorn § ,VCFSOFUFTωΠςΟϒͷࢄϒϩοΫετϨʔδ044 § $/$' 4BOECPY § +VOFSE ("
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 15
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 15 Longhornの特徴 • ,VCFSOFUFTωΠςΟϒ • ࢄܕϒϩοΫετϨʔδ4%4 • -POHIPSO8FC6* • ؆୯σϓϩΠʢ3BODIFSΧλϩάɺ,VCFDUMɺIFMNʣ • &YUYGT • 7PMVNFFYUFOEɺ4OBQTIPUɺCBDLVQSFTUPSFʢ4̏/'4ʣɺ-JWF6QHSBEF
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 16
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 16 Longhornの使い方 - Install § 3BODIFSΧλϩάը໘
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 17
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 17 Longhornの使い方 - Install § ,VCFDUM § IFMN • helm2 • helm3 kubectl apply -f \ https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml git clone https://github.com/longhorn/longhorn helm install ./longhorn/chart --name longhorn --namespace longhorn-system kubectl create namespace longhorn-system helm install longhorn ./longhorn/chart/ --namespace longhorn-system
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 18
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 18 Longhorn の使い方 § 1717$ࣗಈ࡞ • StorageClassに指定 § 1717$खಈ࡞ • kubectl • Longhorn Web UI • Rancher Web UI
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 19
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 19 https://k3os.io/ K3os § ,VOFSOFUFTʹಛԽͨ͠ɺLTΛΈࠐΜͩܰྔ04
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 20
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 20 k3osの特徴 § LT࣮ߦʹಛԽͨ͠ϛχϚϜ04 § ܰྔͷͨΊɺىಈ͕ૣ͍ § 6CVOUVΧʔωϧΛϕʔε § LTͱͷ౷߹ཧ § ରԠΞʔΩςΫνϟɺY@ "3.
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 21
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 21 k3osの使い方
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 22
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 22 k3osの使い方 § %JTLʹΠϯετʔϧ sudo k3os install
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 23
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 23 https://rio.io/ RIO § ,VCFSOFUFT্ʹσϓϩΠͯ͠͏.JDSP1BB4ϓϥοτϑΥʔϜ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 24
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 24 RIOの特徴 § 1JQFMJOF͔Βӡ༻ࢹ·ͰଟͷػೳΛఏڙ § ֤ػೳϞδϡʔϧࣜ § ,VCFSOFUFTΛมߋ͠ͳ͍ § 3VOPOBOZ,VCFSOFUFT • k3sでも稼働できる
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 25
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 25 RIO - 機能一覧
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 26
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 26 RIOの使い方 # Download the CLI (available for macOS, Windows, Linux) $ curl -sfL https://get.rio.io | sh - $ rio install $ rio run -p 80 --name demo nginx default:demo $ rio ps NAME IMAGE ENDPOINT PORTS … demo nginx https://demo-v0-default.vctvc1.on-rio.io:31082 80 … $ curl https://demo-v0-default.vctvc1.on-rio.io:31082
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 27
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 27 https://submariner.io/ Submariner § ෳͷ,VCFSOFUFTΛܨ͛Δπʔϧ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 28
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 28 Submarinerの特徴 § ҟͳΔ,VCFSOFUFTΫϥελͷ1PE͕$MVTUFS*1Ͱ௨৴Ͱ͖Δ • PodネットワークおよびServiceネットワークを繋ぐ § طଘͷ,VCFSOFUFTΫϥελʹల։Մೳ • CNIドライバ利用のクラスターを対応可能 § *14FDτϯωϧΛ༻ͨ͠҉߸ԽωοτϫʔΫଓ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 29
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 29 Submarinerの使い方 - subctl § ଞʹɺ)FMN0QFSBUPSͷΠϯετʔϧํ๏͋Γ·͢ɻ $ mkdir -p ~/.local/bin $ wget https://github.com/submariner-io/submariner-operator/releases/download/ v0.1.0/subctl-v0.4.0-linux-amd64 $ install subctl-v0.4.0-linux-amd64 ~/.local/bin/subctl # Deploy Broker # This command also saves a file, broker-info.subm $ subctl deploy-broker --kubeconfig /path/to/your/config --no-dataplane # Deploy engine and route agent $ subctl join --kubeconfig /path/to/your/config broker-info.subm
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 30
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 30 https://github.com/rancher/fleet FLEET § ʙඦສڃͷͷ,VCFSOFUFTΫϥελΛཧ͢ΔγεςϜ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 31
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 31 FLEETの特徴 § ୯ಠͷ,VCFSOFUFT 1FU ΑΓɺશମͷ,VCFSOFUFT؋ୂ $BUUMF Λҙࣝ § $MVTUFS(SPVQTͰෳͷ,VCFSOFUFTΛཧ § %FQMPZͷ୯Ґ#VOEMFʢ:".-)FMN,VTUPNJ[Fʣ#VOEMFͷྫ • selectorsでCluster Group内のKubernetes Clusterが対象 • アプリだけではなく、クラスタの設定も変更可能 • 全Clusterにデプロイしたアプリの状態を監視し、一致性を保証 § (JUϕʔεͷϫʔΫϑϩʔͱΈ߹ΘͤՄೳ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 32
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 32 FLEETの使い方 # Download the CLI $ curl -sfL https://raw.githubusercontent.com/rancher/fleet/master/install.sh | sh - # Install Fleet Manager $ fleet install controller | kubectl apply -f - # Kubeconfig -> CONTROLLER cluster # Generate cluster group token and apply it to clusters to register $ fleet install agent-token > token # Kubeconfig -> CONTROLLER cluster $ kubectl apply -f token # Kubeconfig -> AGENT cluster # Deploy some bundles $ fleet apply ./examples/helm-kustomize # Kubeconfig -> CONTROLLER cluster
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 33
33 Thank you!