aws / aws/containers-roadmap

Is there a way to support FlexVolume plugin in EKS?

Open
#925 8 comments 2 reactions 0 assignees View on GitHub
EKS
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Currently, the only supported CSi drivers on EKS are EBS, EFS and FSx for Lustre storage classes but these storage classes can’t be used on windows pods that require access to file shares (File shares in windows natively use SMB protocol).

Kubernetes has an alternative way to support SMB storage classes – Flexvolume plugin. The issue is this plugin is required to be installed on both master and worker nodes but since EKS doesn’t give access to the control plane "Master node", it makes it difficult to install the plugin.

It requires this command run on each node

`VOLUME_PLUGIN_DIR="/usr/libexec/kubernetes/kubelet-plugins/volume/exec" mkdir -p "$VOLUME_PLUGIN_DIR/fstab~cifs" cd "$VOLUME_PLUGIN_DIR/fstab~cifs" curl -L -O https://raw.githubusercontent.com/fstab/cifs/master/cifs chmod 755 cifs`

The installation guide for flexvolume can be found here https://github.com/fstab/cifs and https://labs.consol.de/kubernetes/2018/05/11/cifs-flexvolume-kubernetes.html

Contributor guide

Open the contributing guide

Research direction

No repository file or test entry point is named. Start with the EKS limitation in the issue and read the linked fstab/cifs FlexVolume guides, then determine what support would be required for Windows pods and inaccessible control-plane nodes. Done means the requested EKS path is clearly implemented or documented and verified against the stated SMB use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes, shell
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.