Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
はじめてのRancherシリーズ-Longhorn
Search
Wenhan Shi
June 18, 2020
Technology
430
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
1.2k
Kong Konnectで マイクロサービスを統括!
xibuka
0
250
Kongではじめる APIマネジメント入門編
xibuka
0
610
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
86
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
530
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
320
Kong の最新情報
xibuka
0
250
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
910
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
340
Other Decks in Technology
See All in Technology
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
300
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
270
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
930
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
350
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
Running Kotlin + Quarkus with Lambda
nealle
1
3.8k
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
hackers_champloo_2026_tidb
makocchi
0
170
専門領域のAIをどう評価するか
bengo4com
2
260
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
130
その Valkey 使いこなしていますか?
onk
PRO
5
1.6k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
How GitHub (no longer) Works
holman
316
150k
Building Adaptive Systems
keathley
44
3.2k
How to Ace a Technical Interview
jacobian
280
24k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
A better future with KSS
kneath
240
18k
We Have a Design System, Now What?
morganepeng
55
8.4k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
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