gpt4 book ai didi

kubernetes - ebs.csi.aws.com 与 kubernetes.io/aws-ebs 之间的 Provisioner 有何区别?

转载 作者:行者123 更新时间:2023-12-04 13:08:17 27 4
gpt4 key购买 nike

我知道“供应商”这个概念,但我不明白 intree ebs 驱动程序的意思。
ebs.csi.aws.com 是 aws 维护的 csi 驱动程序,另一个是 k8s 自己维护的吗?
这个比那个好吗?

最佳答案

根据 the official documentation :

Prior to CSI, Kubernetes provided a powerful volume plugin system. These volume plugins were “in-tree” meaning their code was part of the core Kubernetes code and shipped with the core Kubernetes binaries. However, adding support for new volume plugins to Kubernetes was challenging. Vendors that wanted to add support for their storage system to Kubernetes (or even fix a bug in an existing volume plugin) were forced to align with the Kubernetes release process. In addition, third-party storage code caused reliability and security issues in core Kubernetes binaries and the code was often difficult (and in some cases impossible) for Kubernetes maintainers to test and maintain. Using the Container Storage Interface in Kubernetes resolves these major issues.


As more CSI Drivers were created and became production ready, we wanted all Kubernetes users to reap the benefits of the CSI model. However, we did not want to force users into making workload/configuration changes by breaking the existing generally available storage APIs. The way forward was clear - we would have to replace the backend of the “in-tree plugin” APIs with CSI.


所以回答你的问题 - 是的,ebs.csi.aws.com 是由 AWS 维护的,而 in-tree 插件是由 Kubernetes 维护的,但似乎他们已经根据 this article 停止实现新功能:

The idea of this journey started picking up steam when I realized that the in-tree storage plugins were deprecated and no new enhancements were being made to them starting with Kubernetes 1.20. When I discovered that simply switching from gp2 to gp3 volumes meant I had to start using the AWS CSI Driver I realized I was behind the times.


回答您的最后一个问题,根据 this note 使用 ebs.csi.aws.com 可能更好:

The existing in-tree EBS plugin is still supported, but by using a CSIdriver, you benefit from the decoupling between the Kubernetesupstream release cycle and the CSI driver release cycle.

关于kubernetes - ebs.csi.aws.com 与 kubernetes.io/aws-ebs 之间的 Provisioner 有何区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68359043/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com