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
使用 Kubernetes CSI 與 Ceph 實現 Trustzone
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
chun wang
July 20, 2019
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
使用 Kubernetes CSI 與 Ceph 實現 Trustzone
chun wang
July 20, 2019
Other Decks in Technology
See All in Technology
When Does a Local Qwen Start to Break
morshoto
0
190
SQL文一行も書けない人事がCortexもろもろを使って人事業務を楽にしてみる
ponponmikankan
1
200
現場に行くだけでは足りない——プロダクトエンジニアが業務の流れを捉える観点と、その鍛え方
takumiengineering
0
370
あるけみー式LTスライド作成術
alchemy1115
1
140
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
280
10分で知る最近のOmarchy
komagata
0
210
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
140
Reactの設計論
uhyo
13
6.4k
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
610
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
0
1.3k
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
170
20260912_スクラムにジェネラリストは必要か
ryugen04
0
240
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Chasing Engaging Ingredients in Design
codingconduct
0
300
Producing Creativity
orderedlist
PRO
348
41k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Code Reviewing Like a Champion
maltzj
528
40k
Code Review Best Practice
trishagee
74
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
For a Future-Friendly Web
brad_frost
183
10k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
890
We Have a Design System, Now What?
morganepeng
55
8.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Transcript
使用Kubernetes CSI與Ceph 實現Trustzone 林春旺@NUTC 1
Agenda Why need CSI What is CSI How to use
CSI with Kubernetes What is Trustzone How to implement Trustzone Summary 2
Why need CSI 3
Kubernetes - Volume(emptyDir) 4
Kubernetes - Volume(hostPath) 5
Kubernetes - Persistent Storage Persistent Volume(PV) Persistent Volume Claim(PVC) StorageClass
6
Kubernetes - In-Tree Volume Plugin 7 External Storage https://medium.com/google-cloud/understanding-the-container-storage-interface-csi-ddbeb966a3b
What is CSI 8
Kubernetes - Out-Tree Volume Plugin 9 External Storage https://medium.com/google-cloud/understanding-the-container-storage-interface-csi-ddbeb966a3b
How to use CSI with Kubernetes 10
Deploy Ceph-CSI Services Deploy RBACs for sidecar containers and node
plugins kubectl create -f csi-provisioner-rbac.yaml kubectl create -f csi-nodeplugin-rbac.yaml Deploy CSI sidecar containers: kubectl create -f csi-cephfsplugin-provisioner.yaml Deploy CSI CephFS driver: kubectl create -f csi-cephfsplugin.yaml 11 https://github.com/ceph/ceph-csi/blob/master/docs/deploy-cephfs.md
Deploy the Storage Class kubectl create -f secret.yaml kubectl create
-f storageclass.yaml kubectl create -f pvc.yaml kubectl create -f pod.yaml 12
Secret 13
StorageClass 14
PersistentVolumeClaim(PVC) 15
Pod 16
What is Trustzone 17
Trustzone 18 https://www.microcontrollertips.com/embedded-security-brief-arm-trustzone-explained/ 在ARM Cortex手 機處理器中分隔 出沒有安全性要 求的執行區域和 可信任的安全區 域。
How to implement Trustzone 19
Ceph - Architecture 20 http://docs.ceph.com/docs/mimic/architecture/
Ceph - Placement Groups 21 http://docs.ceph.com/docs/mimic/rados/operations/placement-groups/ 1.pg_id = hash(obj_id) mod
pg_num 2.CRUSH(pg_id)取得對應OSD
Ceph - CRUSH Maps 22 http://docs.ceph.com/docs/mimic/rados/operations/crush-map/
Ceph - CRUSH Maps 23 host normal { id -2
alg straw2 hash 0 item osd.1 weight 0.910 item osd.2 weight 0.910 item osd.3 weight 0.910 } host secret { id -3 alg straw2 hash 0 item osd.4 weight 0.910 item osd.5 weight 0.910 item osd.6 weight 0.910 }
Ceph - CRUSH Rule 24 rule normal { id 1
type replicated min_size 1 max_size 10 step take normal step chooseleaf firstn 0 type host step emit } rule secret{ id 2 type replicated min_size 1 max_size 10 step take secret step chooseleaf firstn 0 type host step emit }
Ceph - File Layouts (Extended Attributes) ceph osd pool create
normal_data 128 normal ceph osd pool create secret_data 128 secret setfattr -n ceph.dir.layout -v “pool=normal_data" /mnt/normal/ setfattr -n ceph.dir.layout -v “pool=secret_data” /mnt/secret/ 25 http://docs.ceph.com/docs/jewel/cephfs/file-layouts/
Summary 26