-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
efs csi driver doesn't work with pod having tolerations #122
Comments
Ran into this same issue. It has to do with the daemonset that is created for the driver:
Notice that the ebs driver started on all nodes, even though 2 of them have taints on them (used for things like jenkins only) whereas the efs DSet only hits the untainted nodes. |
Workaround until DaemonSet is updated (given standard instructions used with README):
and save that. You should see the daemonset update to show a full count of nodes. First key in array probably negates the second, but I wasn't sure what the original intent of that was. |
This is a bug recently fixed on EBS csi driver. Please file a patch for fixing efs driver. Thx |
/close |
@wongma7: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
If you're running a cluster with mixed Fargate and EC2 instances, edit the affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: eks.amazonaws.com/compute-type
operator: NotIn
values:
- fargate |
/kind bug
What happened?
When pod doesn't have tolerations, the efs is mounted successfully as pvc. But when we have tolerations in pod(for specific reasons) the pod goes in "ContainerCreating" status with error:
driver name efs.csi.aws.com not found in the list of registered CSI drivers
What you expected to happen?
Pod should run as expected with efs mounted as pvc when tolerations are added.
How to reproduce it (as minimally and precisely as possible)?
add tolerations to pod manifest and it will go in "ContainerCreating" status.
Anything else we need to know?: NO
Environment
kubectl version
):Client: GitVersion:"v1.15.0"
Server: GitVersion:"v1.14.9-eks-c0eccc
v0.2.0
The text was updated successfully, but these errors were encountered: