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シリーズ-Longhorn
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Wenhan Shi
June 18, 2020
Technology
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
はじめてのRancherシリーズ-Longhorn
Wenhan Shi
June 18, 2020
More Decks by Wenhan Shi
See All by Wenhan Shi
「静的解析」だけで終わらせない。 SonarQube の最新機能 × AIで エンジニアの開発生産性を本気で上げる方法
xibuka
2
1k
Kong Konnectで マイクロサービスを統括!
xibuka
0
240
Kongではじめる APIマネジメント入門編
xibuka
0
580
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
81
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
510
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
310
Kong の最新情報
xibuka
0
230
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
890
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
330
Other Decks in Technology
See All in Technology
作り直せるコードは迅速に 作り直せないDBは慎重に - AI時代のプロダクトエンジニアが「判断の不可逆性」で開発速度を変える話
kinosuke01
0
250
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
110
enechainの内製セルフサービスプラットフォーム
hiyosi
0
120
Azure Cost Management の FOCUS コストデータを迷わず読むための“3つの軸”
tetsuyaooooo
0
150
PfEingのアプローチで働こう
rindrics
0
180
動画配信アプリでの Engage SDK 導入 — TVer Android が Play ストアにコンテンツを届けるまで
techtver
PRO
0
130
AIで開発は速くなったのに、なぜ現場は楽にならないのか 〜あなたの組織のボトルネックを突き止めるワークショップ〜
jacopen
1
270
Nav2、Nav3 ... はたまた自作?〜 作って理解する Nav3 の設計意図 〜 / Nav2, Nav3 ... or Build Your Own? — Understanding Nav3's design intent by building it from scratch
yanzm
0
250
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
150
Bet AI Day 2026丨Agentは、「金融」という巨大産業の何を変えられるのか
layerx
PRO
0
1k
Bet AI Day 2026丨AIを「使う」から、AIが「働く」へ ― LayerXが進める「組織AI」の社会実装
layerx
PRO
3
2.6k
20260906 「AWS運用入門」著者が教える、運用業務への生成AI活用入門
masaruogura
0
240
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
The SEO Collaboration Effect
kristinabergwall1
1
550
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
690
Writing Fast Ruby
sferik
630
63k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Bash Introduction
62gerente
615
220k
Raft: Consensus for Rubyists
vanstee
141
7.7k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
520
BBQ
matthewcrist
89
10k
Transcript
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 1
© Copyright 2020 Rancher Labs. All Rights Reserved. 1 ͡Ίͯͷ3BODIFSγϦʔζ -POHIPSO 2020/06/18 Wenhan Shi Support Engineer
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 2
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 2 ࢪ จᷨ ʢγ ϒϯΧϯʣ 8FOIBO4IJ 5XJUUFS!TIJ@XFOIBO ܦྺ • ཱ࡞ॴ -JOVY ΧʔωϧϞδϡʔϧͷอकαϙʔτ • 3FE)BU,, (MVTUFS'40QFO4IJGUαϙʔτ • $BOPOJDBM+BQBO,, 6CVOUV0QFO4UBDL,VCFSOFUFTαϙʔτ • 3BODIFS-BC*OD ݄̍ೖࣾ ࣗݾհ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 3
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 3 Kubernetes Storage • ֎෦ετϨʔδΛར༻࣌ͷ՝ • ,VCFSOFUFTωΠςΟϒͰͳ͍ • ༰ྔ૿ՃʹΑΔαϙʔτίετ • ֎෦ετϨʔδอकͷίετ • όοΫΞοϓͷ࣌ؒɾࣦഊͷՄೳੑ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 4
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 4 Open Source Distributed Block Storage Software for Kubernetes https://longhorn.io/ One click to add persistent storage support to any Kubernetes cluster
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 5
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 5 A CNCF sandbox project Longhornとは • ,VCFSOFUFTωΠςΟϒͷࢄܕ ϒϩοΫετϨʔδιϑτΣΞ • ܰྔߴ৴པʢFOUFSQSJTFHSBEFʣ • ͍͍͢ -POHIPSO8FC6* • 3BODIFSͷΧλϩά͔ΒDMJDLͰσϓϩΠ • ,VCFDUMɺIFMNՄೳ • ೝఆ͞Εͨ,VCFSOFUFTͰ͝ར༻Մೳ • CBDLFOEετϨʔδʹґଘ͠ͳ͍ • 7PMVNF୯Ґͷ༰ྔ֦ுɺ4OBQTIPU CBDLVQSFTUPSFػೳ • 7PMVNFʹӨڹͳ͠ͷ-JWF6QHSBEF
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 6
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 6 Longhorn 0.8 Volume resizing Automatic recover faulted volume Air gap Longhorn 1.0 GA Announced on June 3rd With v0.6.0, Longhorn could scale up to 40 volumes per node. Longhorn 1.0 GA scales +80 volumes per node. Increase in volumes per node 200% Volume attaching/detaching for +20 volumes per node reduced from a couple of hours to a few seconds Faster than v0.6 100x Longhorn GA リリース Longhorn 0.6 Volume attaching/ detaching +50% faster CNCF Sandbox Longhorn 0.5 DR Volume Helm chart Longhorn 0.3 Support S3 for backup Basic K8s support Open sourced Re-written in Go, built for Docker Closed source Written in C++ Pre-K8s era ‘14 ‘16 ‘18 ‘19 ‘19 ‘20
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 7
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 7 OpenEBS and Longhorn • OpenEBSは2017年頃にLonghornの技術を採用(folk) • 修正やエンハンスをLonghorn main upstreamにPush back https://blog.openebs.io/openebs-building-blocks-rancher-longhorn-b8928b5921fa
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 8
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 8 Longhornと他のストレージ製品
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 9
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 9 *50QT %FWFMPQFST -POHIPSOͷϝϦοτ ਝͳ ϦΧόϦʔ όοΫΞοϓ ˍεφοϓ ؆୯ʹ͑Δ ϒϩοΫ ετϨʔδ
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 10
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 10 5FDIOPMPHZ-FBEFST -POHIPSOͷϝϦοτ $MPVEOBUJWF අ༻Λݮ ։ൃऀͷ ޮੑΞοϓ 1FSTJTUFOU TUPSBHF FWFSZXIFSF
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 11
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 11 アーキテクチャー
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 12
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 12 Longhorn UI
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 13
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 13 ユースケース1 VM Vmstore local disk Other SAN LUN LVM VG /data/longhorn Combine multiple storage backends into one Mounted on linux FS
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 14
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 14 Kubernetes Cluster Region A ユースケース2 Pod A Standby DR Volume passively replicates from incremental snapshots being sent to a backup store S3 / NFS backup Store Multi-Cluster, Multi-site Disaster Recovery Kubernetes Cluster Region B Pod A Scheduled backups continually send deltas of volume to external cold storage In the event of failover, user syncs with the latest backup and becomes active for workloads in the cluster. Time to recovery is short because most of the delta is already replicated
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 15
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 15 推奨構成 • ハードウェア(最小) • 3 nodes • 4 vCPUs per node • 4 GiB per node • システム • Ubuntu 18.04 • CentOS 7/8 • ディスク • システム(/)と異なるディスクを利用 • 複数のディスクをLVMで1パーティションに構成
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 16
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 16 demo 1. クラスタdemo1でLonghornのInstall 2. クラスタdemo1でLonghornのstorageClassを使って、WordpressのInstall 3. クラスタdemo1でWordpressの記事を新規作成してから、AWS S3にVolumeをバックアップ 4. クラスタdemo2でバックアップからVolumeをリストア 5. クラスタdemo2でリストアされたVolumeを使ってWordpressをInstall 6. クラスタdemo2でのWordpressからdemo1で作成した記事を確認
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 17
© Copyright 2020 Rancher Labs. All Rights Reserved. Confidential 17 Information • Homepage • https://longhorn.io/ • Documentation • https://longhorn.io/docs/1.0.0/ • Roadmap • https://github.com/longhorn/longhorn/wiki/Roadmap • Development updates • https://github.com/longhorn/longhorn/milestones/
© Copyright 2019 Rancher Labs. All Rights Reserved. Confidential 18
18 Q & A