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
2022年コンテナ/Kubernetes向けストレージ技術の最新動向
Search
Yukinori Sakashita
September 09, 2022
Technology
9
5.2k
2022年コンテナ/Kubernetes向けストレージ技術の最新動向
2022/9/9に開催されたSNIA日本支部主催「2022年度ストレージトレンドセミナー(第一回)」で発表したスライドです
Yukinori Sakashita
September 09, 2022
Tweet
Share
More Decks by Yukinori Sakashita
See All by Yukinori Sakashita
ゼットラボにおける一歩進んだ Kubernetes向けストレージ管理方法
ysakashita
0
220
Kubernetes Persistent Volume向け ゾーン障害への備え
ysakashita
0
1.6k
はじめよう Kubernetes PersistentVolume のバックアップ
ysakashita
3
1.1k
Cloud Nativeに向けた考えるべきポイント
ysakashita
1
250
ステートフルアプリ on Kubernetesの現在と今後の展望
ysakashita
2
730
VM時代からコンテナ時代へストレージ管理の移り変わり
ysakashita
9
7.5k
Kubernetes時代のストレージ
ysakashita
1
610
Persistent Volumeのはじめの一歩
ysakashita
2
950
PersistentVolumeの一歩進んだ使い方
ysakashita
3
1.7k
Other Decks in Technology
See All in Technology
技術に触れたり、顔を出そう
maruto
1
150
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
190
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
340
Kotlin Multiplatformのポテンシャル
recruitengineers
PRO
2
150
新卒1年目、はじめてのアプリケーションサーバー【IBM WebSphere Liberty】
ktgrryt
0
120
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
2.1k
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
850
2024年活動報告会(人材育成推進WG・ビジネスサブWG) / 20250114-OIDF-J-EduWG-BizSWG
oidfj
0
220
Godot Engineについて調べてみた
unsoluble_sugar
0
390
KMP with Crashlytics
sansantech
PRO
0
240
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
GitHub's CSS Performance
jonrohan
1030
460k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
How GitHub (no longer) Works
holman
312
140k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Unsuck your backbone
ammeep
669
57k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Being A Developer After 40
akosma
89
590k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
RailsConf 2023
tenderlove
29
970
Transcript
ίϯςφ,VCFSOFUFT͚ ετϨʔδٕज़ͷ࠷৽ಈ :VLJOPSJ4BLBTIJUB
ࣗݾհ ‣ ٕज़ݚڀΤϦΞ ӡ༻ཧٕज़ Ϋϥυ αʔόετϨʔδ
ࣗಈࣗίϯϐϡʔςΟϯά "*.- // ).. #BZFTJBO/FUXPSL ‣ ৬ྺ ཱ࡞ॴ 㾎தԝݚڀॴԣݚڀॴ ओݚڀһ 㾎ւ֎ݚڀॴ!γϦίϯόϨʔ ϥϘ αʔόϕϯμʔ ςΫχΧϧ4& 2 ࡔԼಙ ത࢜ :VLJOPSJ4BLBTIJUB 1I% ‣ ϠϑʔגࣜձࣾθοτϥϘגࣜձࣾ ‣ 4/*"ຊࢧ෦ٕज़ҕһձ෭ҕһ ݉ϢʔεέʔεՊձ ‣ 4/*"5FDIOJDBM$PVODJM"EWJTPS
"HFOEB ‣ ίϯςφ,VCFSOFUFTͱ ‣ ίϯςφ,VCFSOFUFTͷετϨʔδػೳ ‣ ,VCFSOFUFTͷ࠷৽ετϨʔδػೳ ‣ ͜Μͳ$4*υϥΠόݏͩ ݸਓͷࡶײ
3 ,VCFSOFUFT ॳɾதڃऀ͚ ,VCFSOFUFT தɾ্ڃऀ͚ ετϨʔδ ϕϯμʔ͚ શһ͚
ίϯςφɾ,VCFSOFUFTͱ શһ͚
,VCFSOFUFTͷར༻ঢ়گ 88 ‣ $/$'ͷ"OOVBM4VSWFZΑΓൈਮ ‣ ͍ͣΕͷϦʔδϣϯʮϓϩμΫγϣϯར༻ʯ ʮݕূதʯ ʮݕূ༧ఆʯ ͷ߹ܭ͑ ग़యݩIUUQTXXXDODGJPXQDPOUFOUVQMPBET$/$'"OOVBM4VSWFZQEG
ίϯςφͷར༻ঢ়گ ຊ ‣ ίϯςφΛಋೖɾಋೖݕ౼ͷຊاۀ 6 ग़యݩ൛4/*"+ετϨʔδࢢಈௐࠪ
ίϯςφͱ 7 HW(CPU/Mem/NW/Disk) Hypervisor HW OS Container Runtime bin/lib App
Container App Container bin/lib App Container Ծαʔό 7. ίϯςφ $POUBJOFS ‣ 7.Ϧιʔε $16.FNPSZ/FUXPSL%JTL Λ ԾԽ ‣ ίϯςφϦιʔεͷԾԽߦΘͳ͍ ɾϦιʔεͷׂͷΈ DHSPVQ OBNFTQBDF׆༻ ‣ ίϯςφΠϝʔδΞϓϦέʔγϣϯ ඞཁͳ ϥΠϒϥϦΛ·ͱΊͨͷ ‣ ίϯςφΠϝʔδΛίϯςφϥϯλΠϜ্Ͱ࣮ߦ ‣ ίϯςφಠཱͨ͠ϥΠϒϥϦΛ࣋ͭ୯ͳΔϓϩηε ‣ ίϯςφʹΞΫηε͢ΔϢʔβ͔ΒΈͨΒ 7.ͱಉ͡Α͏ʹಠཱͨ͠ڥʹݟ͑Δ ͚ͩ GuestOS bin/lib App VM vCPU/Mem/ NW/Disk GuestOS bin/lib App VM vCPU/Mem/ NW/Disk GuestOS bin/lib App VM vCPU/Mem/ NW/Disk
ίϯςφͷϝϦοτ 8 ‣ 7.ʹൺͯΠϝʔδαΠζ͕খ͍͞ ɾ7.7.Πϝʔδ 04Πϝʔδ ΞϓϦͷόΠφϦ (#ZUFT ɾίϯςφΞϓϦͷόΠφϦ
ؔ࿈ϥΠϒϥϦ .#ZUFT ‣ σϓϩΠ͕͍࣌ؒ ɾαΠζ͕খ͍ͨ͞Ίμϯϩʔυ͕͍࣌ؒ ɾ7.ͱҧ͍ԾͷϚγϯͷ࡞͕ෆཁ ୯ͳΔϓϩηεىಈ ‣ ίϯςφϥϯλΠϜʹΑΓ04ͳͲͷҧ͍Λٵऩ ‣ ԼҐͷ04ͷڥΛΫϦʔϯʹอͯΔ ϥΠϒϥϦ͕Ε্͕Βͳ͍ ɾͭͷΞϓϦ͔͠ར༻͠ͳ͍ϥΠϒϥϦΛԼҐͷ04ʹηοτΞοϓෆཁ
ͳͥίϯςφͳͷ͔ 9 ‣ 8FCαʔϏεͷීٴʹΑΓɺٸͳϦιʔε૿ڧݮͳͲͷཁͷߴ·Γ ‣ ඞཁͳՕॴͷΈϦιʔε૿ڧʹԠ͑ΒΕΔΑ͏ʹαʔϏεΞϓϦͷ ΞʔΩςΫνϟͷมԽ ϞϊϦγοΫ͔ΒϚΠΫϩαʔϏεͷมԽ
‣ ηοτΞοϓ͔Βىಈ·Ͱͷ࣌ؒΛΑΓ͘ ‣ Ϋϥυͷ7.ϩάΠϯͯ͠։ൃˠखݩͷ1$Ͱ։ൃ͠Ϋϥυ σϓϩΠ͢Δ։ൃελΠϧγϑτ ‣ ڥґଘ͔Βͷग़ ɾ։ൃڥͰಈ͍ͨͷʹɺຊ൪ڥͰಈ࡞ͤͣʜ ݪҼҙ͍ࣝͯ͠ͳ͔ͬͨϥΠϒϥϦͷόʔδϣϯ͕ҧ͏ͳͲ
ίϯςφΦʔέετϨʔγϣϯ ‣ ෳͷίϯςφϥϯλΠϜΛ·ͱΊͯӡ༻ཧ͢Δͷ͕ ίϯςφΦʔέετϨʔγϣϯ ɾίϯςφϥϯλΠϜ FH%PDLFS DPOUBJOFSE ɾίϯςφΦʔέετϨʔγϣϯ
FH,VCFSOFUFT ,VCFSOFUFT HW OS Container Runtime bin/lib App Container App Container bin/lib App Container HW OS Container Runtime bin/lib App Container App Container bin/lib App Container HW OS Container Runtime bin/lib App Container App Container bin/lib App Container Container Network
,VCFSOFUFTͱ 11 ‣ ίϯςφΦʔέετϨʔγϣϯͷ σϑΝΫτελϯμʔυ ‣ $/$'ͷΤίγεςϜͷத৺తଘࡏ $MPVE/BUJWF$PNQVUJOH'PVOEBUJPO
‣ ओͳػೳ 4FMGIFBMJOH )PSJ[POUBMTDBMJOH 4FSWJDFEJTDPWFSZBOEMPBECBMBODJOH "VUPNBUFESPMMPVUTBOESPMMCBDLT 4UPSBHFPSDIFTUSBUJPO
lམͪͳ͍z͔Βzૉૣ͘෮چz 12 ‣ ถւ؛ͷΫϥυϕϯμʔΛத৺ʹγεςϜߏங͢ΔࡍͷՁ؍͕มԽ ࠒ͔Β ‣ lམͪͳ͍zγεςϜߴֹͭෳࡶʹͳΓ͕ͪ མͪͳ͍ͷͳ͍
‣ lམͪͳ͍z͔Βzૉૣ͘෮چz͢ΔγεςϜՁ؍͕มԽ γεςϜߏ͚ͩͰͳ͘4-"σϓϩΠσϦόϦํ๏zૉૣ͘෮چzʹ Ϛονͨ͠ͷʹมԽ ‣ ৽͍͠Ձ؍ʹϚον͢Δٕज़ͷҰͭͱͯ͠ίϯςφ,VCFSOFUFTΛ׆༻ མͪͳ͍γεςϜͷݕ౼Πϝʔδ ૉૣ͘෮چͷݕ౼Πϝʔδ ࣌ؒ Ͱͷ෮چํ๏ Λݕ౼
ϓϩηεͷՔಇ .5#' ฏۉނোִؒ .553 ฏۉम෮࣌ؒ ՔಇՔಇ࣌ؒͷ૯શମ࣌ؒ.5#' .5#' .553
Քಇ࣌ؒ ఀࢭ࣌ؒ Քಇ࣌ؒ ఀࢭ Քಇ࣌ؒ ఀࢭ Քಇ࣌ؒ ఀࢭ ʜ Քಇ࣌ؒ ఀࢭ Քಇ࣌ؒ ఀࢭ ύλʔϯؒͷՔಇɹ .5#'࣌ؒ .553࣌ؒ ؒ࣌ؒ ࣌ؒ ύλʔϯؒͷՔಇ .5#'࣌ؒ .553࣌ؒ ‣ αʔϏεఀࢭͤ͞ͳ͍͕ϓϩηεΞοϓσʔτͳͲͰఀࢭ͋Γ ‣ ίϯςφ,VCFSOFUFT.553Λ͘͢Δͷʹ༗ޮͳٕज़ ‣ ಉ͡ՔಇͰύλʔϯ͋Γ ఀࢭ࣌ؒো͚ͩͰͳ͘ εέʔϧมߋɾόʔδϣϯΞοϓͳͲͷܭըతͳఀࢭؚΉ
ίϯςφ,VCFSOFUFTͷ ετϨʔδػೳ ,VCFSOFUFT ॳɾதڃऀ͚
,VCFSOFUFTͷετϨʔδϞσϧ ‣ ϕϯμʔχϡʔτϥϧͳϞσϧ 1FSTJTUFOU7PMVNF$MBJN 1FSTJTUFOU7PMVNF 4UPSBHF$MBTT ‣
ཧऀͱϢʔβͷׂΛߟྀͨ͠Ϟσϧ ‣ ετϨʔδஔͷૢ࡞ͳ͠Ͱ7PMVNFΛ ίϯςφʹࣗಈͰϚϯτ ‣ ओʹϒϩοΫετϨʔδϑΝΠϧ ετϨʔδ͕ର 15 Ϣʔβ ཧऀ
1SPWJTJPOJOH 16 ʜ TQFD DPOUBJOFST OBNFNZTRM JNBHFNZTRM ʜ WPMVNF.PVOUT OBNFNZTRMEBUB
NPVOU1BUIWBSMJCNZTRM WPMVNF$MBJN5FNQMBUFT NFUBEBUB OBNFNZTRMEBUB TQFD BDDFTT.PEFT<3FBE8SJUF0ODF> TUPSBHF$MBTT/BNFHPME SFTPVSDFT SFRVFTUT TUPSBHF(J %FQMPZ
1SPWJTJPOJOH 17 ʜ TQFD DPOUBJOFST OBNFNZTRM JNBHFNZTRM ʜ WPMVNF.PVOUT OBNFNZTRMEBUB
NPVOU1BUIWBSMJCNZTRM WPMVNF$MBJN5FNQMBUFT NFUBEBUB OBNFNZTRMEBUB TQFD BDDFTT.PEFT<3FBE8SJUF0ODF> TUPSBHF$MBTT/BNFHPME SFTPVSDFT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RVFTUT TUPSBHF(J Storage OS Container Runtime Container .PVOU ɹ17 J4$4*/'44.# /7.FP'ͳͲ
ར༻ํ๏ 7.ɾ,VCFSOFUFTͷҧ͍ ‣ 7.ɿ7PM࡞ɺ7.ׂΓͯɺϚϯτΛ࣮ߦ ‣ ,VCFSOFUFT7PM࡞͔ΒΞϓϦͷσΟϨΫτϦͷϚϯτ·ͰΛҰׅ࣮ߦ 22 ʜ TQFD DPOUBJOFST
OBNFNZTRM JNBHFNZTRM ʜ WPMVNF.PVOUT OBNFNZTRMEBUB NPVOU1BUIWBSMJCNZTRM WPMVNF$MBJN5FNQMBUFT NFUBEBUB OBNFNZTRMEBUB TQFD BDDFTT.PEFT<3FBE8SJUF0ODF> TUPSBHF$MBTT/BNFHPME SFTPVSDFT SFRVFTUT TUPSBHF(J Storage OS Container Runtime (App) Container Storage HV VM App $JOEFS $4* .BOJGFTUΛσϓϩΠ 7PM࡞ 7.ׂ Ϛϯτ
$4* ‣ ίϯςφΦʔέετϨʔγϣϯ͚ͷετϨʔδཧ*'ͷඪ४༷ ίϯτϩʔϧϓϨʔϯɺ#MPDL'JMF͕λʔήοτ ‣ $4*17࡞ɾϚϯτͳͲͷPVUPGCBOEͷཧ༻*' ࡞͞Εͨ17J4$4*/'44.#/7.FP'ͳͲͰαʔόϚϯτ
‣ ओཁͳίϯςφΦʔέετϨʔγϣϯ͕࠾༻ ,VCFSOFUFT $MPVE'PVOESZ .FTPT %PDLFS FUD ‣ ,VCFSOFUFTͰʹͯ("αϙʔτ ‣ ,VCFSOFUFTͷιʔεπϦʔ JOUSFF Ͱཧ͞Ε͍ͯͨετϨʔδஔʹ ؔ࿈͢Δ࣮͕ɺSEϕϯμͰಠࣗʹ։ൃఏڙ͢Δ͜ͱ͕Մೳ 23
$4*ͷΞʔΩςΫνϟ 24 ಈ࡞ݕূϨϙʔτIUUQTRJJUBDPNZTBLBTIJUBJUFNTCDGGCF $4*)FMQFS $POUBJOFS SE1BSUZ $4*7PMVNF %SJ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ੑೳྼԽͷϦεΫ༗Γ ֤7.ͰҟͳΔόʔδϣϯͷ%SJWFS͕ࠞࡏ 7.͝ͱͷ༏ઌͳͲετϨʔδͰ੍ޚͰ͖ΔΑ͏ɺJ4$4*4$4*ϓϩτίϧͷϕϯμʔ֦ுͷϑΟʔϧυ͠W$16ͳͲͷใ Λ༩͢Δ͋Γɻ͜ͷ߹ετϨʔδଆϗετϞʔυͳͲͷઃఆ͕ඞཁ /PEF ,FSOFM 4UPSBHF $POUBJOFS $POUBJOFS "QQ %SJWFS )ZQFSWJTPS 4UPSBHF 7. 7. %SJWFS %SJWFS )ZQFSWJTPS 4UPSBHF 7. 7. "QQ %SJWFS %SJWFS /PEF ,FSOFM 4UPSBHF "QQ %SJWFS %SJWFS "QQ "QQ "QQ "QQ ϕΞϝλϧ 7. ԾσΟεΫ 7. ύεεϧʔ ίϯςφ ,VCFSOFUFT
ੑೳͷӨڹ ‣ 8SJUFྃͷ໋ྩΛ୭͕ฦ͢ͷ͔ˍ%SJWFS͕Քಇ͢Δ04ͷੑೳͰҧ͍͋Γ ‣ ίϯςφϕΞϝλϧͱಉ༷ʹૉͳੑೳ ‣ 7. ԾσΟεΫ 7.͔Βͷ8SJUFྃԾσΟεΫͰฦ͢
ԾσΟεΫ͔ΒετϨʔδඇಉظͰͷ8SJUF Ұൠతʹੑೳߴͳ͜ͱ͕ଟ͍ɻͨͩ͠ɺ)ZQFSWJTPS͕ੑೳϘτϧωοΫʹͳΔέʔε͋ΔͨΊੑೳઃܭͰཁҙ /PEF ,FSOFM 4UPSBHF $POUBJOFS $POUBJOFS %SJWFS )ZQFSWJTPS 4UPSBHF 7. 7. %SJWFS %SJWFS )ZQFSWJTPS 4UPSBHF 7. 7. "QQ %SJWFS %SJWFS /PEF ,FSOFM 4UPSBHF %SJWFS %SJWFS "QQ "QQ "QQ "QQ ϕΞϝλϧ 7. ԾσΟεΫ 7. ύεεϧʔ ίϯςφ ,VCFSOFUFT "QQ "QQ
ίϯςφͷੑೳʹؔ͢Δࢀߟจ ‣ *#."VTUJO3FTFBSDI-BCPSBUPSZͷ͕ൃද ‣ l"O6QEBUFE1FSGPSNBODF$PNQBSJTPOPG7JSUVBM .BDIJOFTBOE-JOVY$POUBJOFSTz ‣ /BUJWF %PDLFS ,7.ͰͷϕϯνϚʔΫ݁ՌΛղઆ
29 ग़యɹIUUQTJFFFYQMPSFJFFFPSHEPDVNFOU
,VCFSOFUFTͷ ࠷৽ετϨʔδػೳ ,VCFSOFUFT தɾ্ڃऀ͚
৽ͨʹՃ͞Εͨػೳ ‣ Ҏ߱ʹొͨ͠৽ػೳͰ͍ͯ͠ΔͷΛհ (FOFSJD&QIFNFSBM7PMVNF (" "VUPSFNPWF17$TDSFBUFECZ4UBUFGVM4FU "MQIB
3FBE8SJUF0ODF1PE "MQIB 7PMVNF)FBMUI.POJUPS "MQIB $POUBJOFS0CKFDU4UPSBHF*OUFSGBDF $04* "MQIB 31
(FOFSJD&QIFNFSBM7PMVNF ‣ ௨ৗͷ17$171PE͕আ͞Εͯɺআ͞Εͳ͍ 7PMVNFͬͨ·· ‣ &QIFNFSBM7PMVNF1PE͕আͱಉ࣌ʹ17$17আ ΞϓϦͷআͱಉ࣌ʹ7PMVNFআ͢ΔϢʔεέʔε͚ w
ྫը૾ॲཧԻॲཧͷΑ͏ʹதؒσʔλΛग़ྗ͢ΔΞϓϦ ‣ ಛผͳ$4*υϥΠόෆཁ͔ͭطଘ17$17ͰαϙʔτࡁΈͷػೳ͕ར༻Մ 32 ಈ࡞ݕূϨϙʔτIUUQTRJJUBDPNZTBLBTIJUBJUFNTEEGBGC ௨ৗͷ17$17 &QIFNFSBM7PMVNF
"VUP3FNPWF17$ 4UBUFGVM4FU ‣ 4UBUFGVM4FU WPMVNF$MBJN5FNQMBUF ͔Β࡞͞Εͨ17$17Λ 4UBUFGVM4FUআεέʔϧΠϯ SFQMJDBTͷݮ ʹ࿈ಈ͠আ͢Δػೳ
௨ৗ1PEΛআͯ͠17$17আ͞Εͣ VNPVOUEFUBDIͷΈ ‣ ςετ࣌ύϒϦοΫΫϥυͳͲͰར༻͞Ε͍ͯͳ͍17$17 7PMVNF ͕ҙਤͤͣΓଓ͚՝ۚ͞Εଓ͚ΔͷΛආ͚͍ͨͱͷཁ IPHF IPHF IPHF IPHF SFQMJDBT IPHF IPHF SFQMJDBT IPHF IPHF SFQMJDBT TDBMFJOલ σϑΥϧτͷڍಈ "VUP3FNPWFઃఆ࣌ 33 ҙਤͤͣ 7PMআ͞ΕΔ ϦεΫ͕͋ΔͨΊ ཁҙ ಈ࡞ݕূϨϙʔτIUUQTRJJUBDPNZPTTIJ@JUFNTEECBBDB
3FBE8SJUF0ODF1PE ‣ 17$17ʹͯ༻͢ΔϚϯτ࣌ͷΞΫηεݖ "DDFTT.PEF ,VCFSOFUFTWҎલछྨ 380 309 389
‣ ,VCFSOFUFTWͷΞϧϑΝػೳͱͯ͠3FBE8SJUF0ODF1PE 3801 ͕ ৽ͨʹՃ 34 3FBE8SJUF0ODF 380 /PEF 3FBE8SJUF ͭͷ/PEF͔Β3FBE8SJUF ͰϚϯτͰ͖Δ 3FBE0OMZ.BOZ 309 /PEF 3FBE ෳϊʔυ͔Β3FBE0OMZ ͰϚϯτͰ͖Δ /PEF 3FBE 3FBE8SJUF.BOZ 389 /PEF ෳϊʔυ͔Β3FBE8SJUF ͰϚϯτͰ͖Δ /PEF 3FBE8SJUF 3FBE8SJUF 3FBE8SJUF0ODF1PE 3801 /PEF ͭͷ1PE͔Β3FBE8SJUFͰ ϚϯτͰ͖Δ /PEF 3FBE 8SJUF 3FBE8SJUF /FX ಈ࡞ݕূϨϙʔτIUUQTRJJUBDPNZTBLBTIJUBJUFNTBEGFBGDFF
3FBE8SJUF0ODF1PE ଓ͖ ‣ "DDFTT.PEFετϨʔδͷϚϯτͷ༷͔Βઃܭ FH J4$4* CMPDL ͩͱ3FBE8SJUF0ODF /'4
fi MF ͩͱ3FBE8SJUF.BOZ ‣ ετϨʔδࢹͰϊʔυͷ7PMVNFׂΓͯͷͨΊɺϚϯτ࣌ʹ ΤϥʔͱͳΒͣ3FBE8SJUF0ODF ࠨਤ ͕Ͱ͖ͯ͠·͏ ‣ ϩοΫϝΧχζϜΛ࣋ͨͳ͍#MPDLετϨʔδͷ߹ɺࠨਤͷߏ σʔλഁյͱͳΔϦεΫ͋Γ ‣ ͭͷ1PE͔ΒͷΈ͔͠8SJUF͞Εͳ͍͜ͱΛอূ͢Δ3801͕ొ 35 3FBE8SJUF0ODF 380 /PEF 3FBE8SJUF 3FBE8SJUF0ODF1PE 3801 /PEF 3FBE 8SJUF 3FBE8SJUF
7PMVNF)FBMUI.POJUPS ‣ 1PEʹϚϯτ͞Εͨ7PMVNFΛఆظతࢹ͢Δػೳ كʹ͔͠ΞΫηε͞Εͳ͍7PMVNFɺ͍͓͟͏ͱࢥͬͨΒյΕ͍ͯΔ έʔε͋Γ ‣ ͜ΕΛ͙ͨΊ7PMVNF)FBMUI.POJUPSͷΈ͕$4*ʹՃ ‣ ,VCFSOFUFTWͰࢹͷΈ͕ͩɺকདྷGTDLͷࣗಈ࣮ߦͳͲ
ࣗಈ෮چͷͨΊͷֻ͔Γͷػೳ /PEF /PEF IFBMUI NPOJUPSBHFOU IFBMUI NPOJUPSDPOUSPMMFS /PEF IFBMUI NPOJUPSBHFOU ఆظνΣοΫ ఆظνΣοΫ ݁Ռ௨ 1PE ͷ&WFOU ݁ՌΛه Events: Type Reason Age From Message ---- ------ ---- ---- ------- ... Normal VolumeConditionNormal 5m53s (x141 over 19m) csi-pv- monitor-agent-hostpath.csi.k8s.io The Volume returns to the healthy state Warning VolumeConditionAbnormal 53s (x11 over 20m) csi-pv- monitor-agent-hostpath.csi.k8s.io The volume isn't mounted ಈ࡞ݕূϨϙʔτIUUQTRJJUBDPNZTBLBTIJUBJUFNTCGDDFCGDF 36
$04* ‣ $4* $POUBJOFS4UPSBHF*OUFSGBDF ͷରϒϩοΫϑΝΠϧετϨʔδ ‣ ΦϒδΣΫτετϨʔδ͚ʹ$04* $POUBJOFS0CKFDU4UPSBHF *OUFSGBDF ͕ొ
·ͩ·ͩϕΠϏʔϑΣʔζ IUUQTDPOUBJOFSPCKFDUTUPSBHFJOUFSGBDFHJUIVCJP ‣ $04*ࣗମ͕ΞϧϑΝͷͨΊɺ,VCFSOFUFTͷϦιʔεͱͯ͠ ೖ͓ͬͯΒͣ ར༻࣌ผ్$3% $VTUPN3FTPVSDF%J fi OJUJPOT ΛσϓϩΠ͢Δඞཁ͋Γ ‣ Ϟσϧͷઃܭ17$174UPSBHF$MBTTͱྨࣅͨ͠ઃܭࢥ "MQIBͷͨΊมߋͷՄೳੑ͋Γ 37 37
$04* ଓ͖ 38 $4* $04* 1FSTJTUFOU7PMVNF$MBJN 17$ ࡞͢Δ7PMVNFͷཁٻ༰ #VDLFU3FRVFTU
࡞͢Δ#VDLFUͷཁٻ༰ 1FSTJTUFOU7PMVNF 17 ࡞͞Εͨ7PMVNF #VDLFU ࡞͞Εͨ#VDLFU 4UPSBHF$MBTT 4$ 7PMVNFͷੜݩͱͳΔ1PPM #VDLFU$MBTT #VDLFUͷੜݩͱͳΔ1PPM ༷ௐࠪϨϙʔτIUUQTRJJUBDPNZTBLBTIJUBJUFNTGBFFGFF $04*Ͱ্هͷଞʹΫϨσϯγϟϧใΛѻ͏Ϧιʔεͱͯ͠ #VDLFU"DDFTT3FRVFTU #VDLFU"DDFTT #VDLFU"DDFTT$MBTT ͷͭͷϦιʔε͕͋Δ $4*ͱ$04*ͷϞσϧൺֱ $04*ͷΞʔΩςΫνϟ
͜Μͳ$4*υϥΠόݏͩ ݸਓͷࡶײ ετϨʔδ ϕϯμʔ͚
lૉૣ͘෮چz͕ཧղͰ͖͍ͯͳ͍ 40 ‣ ཧऀ͕खಈͰઃఆ͠ͳ͚Εӡ༻Ͱ͖ͳ͍ϑϩʔ͕͋Δ$4*υϥΠό ਏ͍ ‣ ෮چ࣌ʹཧऀͷਓखͰରԠ͕ඞਢʹͳΔͷɺzૉૣ͘෮چzͰ͖ͳ͍ ‣ $4*༷͑͞ຬͨͤ$4*υϥΠόͱͯ͠ेͱߟ͑ͯ։ൃ͞Ε͍ͯΔͷ͕
͜ͷʹ͋Δҹ ‣ Ұྫͱͯ͠ҎԼͷ߹ʹखಈͰઃఆ͠ͳ͚ΕೖΔέʔε͕ଟ͍ ҹ ϊʔυ͕Ճআ͞Εͨ߹͓Αͼ*1ΞυϨε*2/͕มߋ͞Εͨ߹ɺ ετϨʔδଆͷ"$-ઃఆखಈͰมߋ $4*υϥΠόͷΞοϓσʔτखಈͰͷରԠͷΈ͔͠ͳ͍ 04ͷ,FSOFMόʔδϣϯͳͲͷґଘ͕ڧ͍ ෮چํ๏ͱͯ͠04ΞοϓσʔτͰͷ෮چ͕ෆՄ
$4*υϥΠόͷόʔδϣϯΞοϓ ‣ ֤ࣾఏڙͷ$4*υϥΠόͷόʔδϣϯΞοϓ͕ߦΘΕͳ͍ස͕͍ͷ ར༻Ͱ͖ͳ͍ ͨ͘͠ͳ͍ ‣ ,VCFSOFUFTͷϦϦʔεϲ݄ʹճ աڈϲ݄ʹճ
ίϛϡχςΟͰͷαϙʔτόʔδϣϯ·Ͱ ͭ·Γલͷ,VCFSOFUFTͷόʔδϣϯ·Ͱ͔͠αϙʔτ͞Ε͍ͯͳ͍ ‣ $4*ͷ༷͓ΑͼόΠφϦ,VCFSOFUFTͷϦϦʔεʹ߹Θͤͯόʔδϣϯ Ξοϓ͞ΕΔέʔε͕ଟ͍ ‣ ֤ࣾఏڙͷ$4*υϥΠό͕Ҏ্ߋ৽͞Ε͍ͯͳ͍ͷɺϥΠϒϥϦͳͲ ݹ͘αϙʔτ͞Ε͍ͯͳ͍ঢ়ଶ ‣ ࠷৽ͷ,VCFSOFUFTͰར༻Ͱ͖ͳ͍ ಈ͍ͯϥΠϒϥϦαϙʔτ֎ 41
αϙʔτ͕ετϨʔδࢹͷΈ ‣ ετϨʔδΛར༻͢ΔϢʔβ͔Βݟͨ࣌ͷ αϙʔτΛظ͢Δք໘͕มԽ ‣ ετϨʔδϕϯμʔͷαϙʔτ࣌ʹ ετϨʔδͷΈͷࢹͰ͔͠αϙʔτ͞Ε
ͳ͍ճ͞Εͳ͍ͷਏ͍ $4*υϥΠόͷαϙʔτʹ04 ,VCFSOFUFTͷ͕ࣝඞཁ ‣ աڈͷαϙʔτମ੍͔ΒਐԽͤ͞ରԠͯ͠ ͘ΕΔϕϯμʔخ͍͠ 42 ,VCFSOFUFT 4UPSBHF /PEF 04 $4*%SJWFS "QQT ࣈϕϯμʔఏڙ 4UPSBHF )ZQFS7JTPS 7. 04 "QQT %SJWFS˞ ˞0QFO4UBDL$JOEFS%SJWFSͳͲ ք໘ αϙʔτ࣌ʹ ϕϯμʔʹ ظ͢Δ ௐࠪൣғ 7. ίϯςφ
·ͱΊ ‣ ΠϯϑϥΛߏங͢ΔࡍͷՁ؍͕zૉૣ͘෮چzγϑτ ‣ ৽͍͠Ձ؍Λ࣮ݱ͢ΔͨΊͷಓ۩ͷҰ͕ͭίϯςφ,VCFSOFUFT ‣ ,VCFSOFUFTͷετϨʔδؔ࿈ͷ࠷৽ػೳɺαʔό ϊʔυ ͔ΒΈͨ
ετϨʔδͷཧػೳ͕ڧԽ ‣ ,VCFSOFUFTʹऔΓΜͰɺӡ༻͠ʹ͍͘ར༻Ͱ͖ͳ͍ͱײͨ͡ $4*υϥΠόʹ͍ͭͯࡶײΛհ ‣ ίϯςφ,VCFSOFUFTͷࢢΓग़͢ͷͰ͋ΕɺόοΫάϥϯυͱ ͳΔ৽͍͠Ձ؍Λཧղ͠ɺ։ൃɾαϙʔτͷจԽ Ձ؍εϐʔυײମ੍ ͷγϑτʹऔΓΉ͜ͱ͕ॏཁ ରԠΛϦϦʔε͢Εྑ͍ͱ͍͏ͷͰͳ͍ 43