[英]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.