[英]Kubernetes Custom Volume Plugin with Dynamic Provisioning
我有一個專有的文件系統,我想用它來為我的K8S pod提供文件存儲。 我目前正在運行K8S v1.5.1,但如果需要,可以打開升級到1.6。
我想使用動態預配置,以便根據需要創建卷。 我瀏覽了關於kubernetes.io的官方文檔,這是我目前所理解的:
我無法弄清楚的是:
在回答任何或所有上述內容時,感謝您的任何幫助。
謝謝!
Is Provisoner referred by Storage Class and K8S Volume Plugin one and the same? If they are different, how?
如果要使用該插件配置存儲,則應該相同。
There is mention of External Provisoner in K8S documentation. Does this mean I can write the K8S Volume Plugin for my filesystem out-of-tree (outside K8S code)?
對,那是正確的。
My filesystem provides REST APIs to create filesystem volumes. Can I invoke them in my provisoner/volume plugin?
是的,只要客戶端是供應商代碼的一部分。
If I write an out-of-tree plugin, how do I load it in my K8S cluster so that it can be used to provision volumes using the Storage Class?
它可以作為容器運行,也可以通過二進制執行模型調用它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.