Working with persistent storage using CSI drivers
In Chapter 5, Deploying an EC2 Windows-Based Task, in the Setting up persistent storage section, we discussed the persistent storage use cases for Windows containers using Amazon FSx for Windows File Server and Amazon EBS. The use case remains the same; the only difference is how each container orchestrator manages the storage life cycle.
Kubernetes uses the Container Storage Interface (CSI), a standard for exposing arbitrary block and file storage systems to containerized workloads. There are two open source CSI drivers with Windows supportability:
- Amazon EBS CSI driver: An open source project developed by Amazon Web Services (AWS) that allows Amazon EKS clusters to manage the life cycle of Amazon EBS volumes for persistent volumes
- SMB CSI driver for Kubernetes: Developed by the open source community, it allows Kubernetes to manage the life cycle of Server Message Block (SMB) shares for persistent volumes
In...