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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Wenhan Shi
June 18, 2020
Technology
410
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
880
Kong Konnectで マイクロサービスを統括!
xibuka
0
240
Kongではじめる APIマネジメント入門編
xibuka
0
560
Service Mesh Tracing Observability with Kuma and OpenTelemetry
xibuka
0
72
CNDT2023 - Kong Konnectで実現する APIマネジメントの世界
xibuka
0
500
Kongと共に、 APIジャングルを制覇せよ!
xibuka
0
300
Kong の最新情報
xibuka
0
220
[CI/CD2023]OSSで構築するOpenAPI開発のCI/CD
xibuka
2
860
Kong Ingress Controllerで実現multiple rate limiting
xibuka
0
310
Other Decks in Technology
See All in Technology
知らん間に、回ってる
ming_ayami
0
740
「守りたい体験」を渡すだけで E2E を生成させられるようになった話
hinac0
1
770
壊して学ぶAWS CDK: そのcdk deployで消えるもの、残るもの
k_adachi_01
1
430
タスクの複雑さでモデルを選ぶ ── Thompson Samplingで動かす“トークン/コスト最適化
satohy0323
0
570
LLMやAIエージェントをソフトウェアに組み込むプラクティス
shibuiwilliam
2
430
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
150
ガバナンスの「ちょうどいい落とし所」を探れ!開発スピードを妨げない運用判断の勘所 / SRE NEXT 2026
genda
1
260
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
940
Data + AI Summit 2026 イベントレポート: 「AIがビジネスで意思決定するデータ基盤」へ
nek0128
0
290
Kaggleで成長するために意識したこと
prgckwb
2
420
企業でAWS Organizationsを動かすための組織設計の考え方
nrinetcom
PRO
1
110
アップデートで何が変わった?デモで学んで使いこなすIBM Bob2.0
muehara
0
180
Featured
See All Featured
Unsuck your backbone
ammeep
672
58k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Mind Mapping
helmedeiros
PRO
1
280
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
180
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Deep Space Network (abreviated)
tonyrice
0
230
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
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