Skip to content
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

Unable to install EBS CSI driver #6

Open
radicaled42 opened this issue May 3, 2023 · 0 comments
Open

Unable to install EBS CSI driver #6

radicaled42 opened this issue May 3, 2023 · 0 comments

Comments

@radicaled42
Copy link

So this is a long shot, but I thought you may had the same issue at some point.
I have created the cluster based on the repo instructions, everything is working, I'm able to connect to the Bastion server and I'm able to manage the kubernetes cluster.

But I'm having a problem when I tried to configure the EBS CSI driver and I hope you had the same issue or maybe I'm missing something and I need a fresh pair of eyes.

I'm following the AWS instructions to install the EBS CSI driver.
I didn't want to think too much, so I use the secret to give the driver permissions to AWS.

kubectl create secret generic aws-secret \
    --namespace kube-system \
    --from-literal "key_id=${AWS_ACCESS_KEY_ID}" \
    --from-literal "access_key=${AWS_SECRET_ACCESS_KEY}"

I used the default helm chart installation.
The pods are started correctly and made a simple test of putting the wrong access_key to get the error on the logs.

I'm getting this error when I tried to create a pvc:

ebs.csi.aws.com_ebs-csi-controller-xxxxxx failed to provision volume with StorageClass "gp2-sc": rpc error: code = DeadlineExceeded desc = context deadline exceeded

It looks like a networking issue. I added an inbound rule to open from All to 0.0.0.0/0 just for testing, but I had the same result.

Any suggestion?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant