-
Notifications
You must be signed in to change notification settings - Fork 807
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
EBS CSI Driver does not work on arm64 based instances #604
Comments
Some Kubernetes output:
|
this would be great as we want to run this on the gravitron ec2 instances |
Totally. I rebuilt all the necessary images myself with ARM support to get them to work with Graviton2. But they're in my private ECR so I don't have a link to share |
Any update for this issue? |
|
The EBS CSI images are, but that's not the issue here. It's the referenced Kubernetes Docker images that get deployed with this CSI that are not. |
Ahh, that's right; all of the images sourced from Quay.io do not have ARM64 images built. However, it does appear that newer versions of the CSI images do have ARM64 images; it appears that AWS should be upgrading their CSI dependencies to something more recent. |
We have a backlog item on this, but please thumbs up this issue if this is affecting you. We take those into account while prioritizing :) |
We've merged a new kustomization overlay with multiarch images: #653. Unfortunately some of the images are pulled from docker hub, but it should unblock you for now. My initial tests were successful, please let me know if you encounter any issues. |
I'm sorry, but I'm not sure if I'm supposed to pull in v0.8 or v0.7 of k8s.gcr.io/provider-aws/aws-ebs-csi-driver? |
@shrivastavshubham34 We're currently having issues with our v0.8, so I'd suggest using the arm overlay with v0.7 image for now. |
@ayberk It's still giving me
|
@shrivastavshubham34 Yeah I was able to isolate the issue this morning and it seems like for some reason the images are not being pushed as multiarch to gcr. For example I was able to run I'll try to push v0.8.0 image to ECR today. |
@ayberk doesn't work for ECR and helm upgrade --install aws-ebs-csi-driver \
--namespace kube-system \
--set enableVolumeScheduling=true \
--set enableVolumeResizing=true \
--set enableVolumeSnapshot=true \
--set image.repository='amazon/aws-ebs-csi-driver' \
--set image.tag='v0.7.1' \
aws-ebs-csi-driver/aws-ebs-csi-driver |
Unfortunately you won't be able to install on arm using the helm chart, because the sidecar images we're pulling aren't multiarch. You'd need to use the arm kustomization overlay. |
@ayberk Ohh, now the earlier comments make sense.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
bases:
- ../../../base
images:
- name: amazon/aws-ebs-csi-driver
newTag: v0.7.1
- name: quay.io/k8scsi/csi-provisioner
newName: raspbernetes/csi-external-provisioner
newTag: "1.6.0"
- name: quay.io/k8scsi/csi-attacher
newName: raspbernetes/csi-external-attacher
newTag: "2.2.0"
- name: quay.io/k8scsi/livenessprobe
newName: k8s.gcr.io/sig-storage/livenessprobe
newTag: "v2.1.0"
- name: quay.io/k8scsi/csi-node-driver-registrar
newName: raspbernetes/csi-node-driver-registrar
newTag: "1.3.0"
|
Unfortunately,
Gives the same error for amazon-eks-arm64-node-1.18-v20201211 (ami-03b83573d40dfcd0d)
Am I doing something wrong? Is there a forum or a Slack channel where I can place my query? |
is there any updates on this? |
@ayberk I followed this thread and installed the EBS CSI driver, but the snapshot-controller is still failing for me. On checking the overlays code, I don't see a replacement image for snapshot-contoller in here: "https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/deploy/kubernetes/overlays/stable/arm64/kustomization.yaml" kubectl get pod -n kube-system | grep ebs kubectl logs ebs-snapshot-controller-0 -n kube-system |
Hi, So, I realized the arm64 overlay doesn't include snapshot-controller. I tried to do something similar to alpha overlay, by replacing images of snapshot-controller with arm64 variant. But the snapshotting itself doesn't seem to work. |
We have an issue to remove the snapshotter as technically we shouldn't really deploy it with the driver. We're working on updating the sidecar images so we won't need the arm overlay soon. |
Do you have an eta?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Ayberk Yılmaz <[email protected]>
Sent: Tuesday, January 26, 2021 6:00:23 PM
To: kubernetes-sigs/aws-ebs-csi-driver <[email protected]>
Cc: Derek <[email protected]>; Comment <[email protected]>
Subject: Re: [kubernetes-sigs/aws-ebs-csi-driver] EBS CSI Driver does not work on arm64 based instances (#604)
We have an issue to remove the snapshotter as technically we shouldn't really deploy it with the driver. We're working on updating the sidecar images so we won't need the arm overlay soon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#604 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD3MFTTMEZZ773ZPGQE56Q3S35XTPANCNFSM4TJDPJSA>.
|
I don't unfortunately. But I know this has been a lingering issue and it's at the top of my list as soon as I have some cycles to work on the driver. |
@ajaykmis Can you elaborate on how it's failing? Any logs/yamls would be helpful. |
@ayberk : So, using the ARM overlay, we were able to install the CSI driver that works and now the PVCs can be created using the CSI provisioner. But, the snapshotting yamls weren't included in the arm overlay, so I just modified the alpha overlay and some yamls to include correct images for external-snapshotter. Here's the diff: pod output: we can see all the pods started running fine, so image doesn't seem to be an issue. Update: it's working fine now. I am not sure if I had something wrong. but I just tried it out again, and it seems to work fine. Thanks for the help! |
Awesome, glad it worked! Hopefully we'll have this fixed soon so you won't need an overlay. |
/kind bug
What happened?
arm support was added in #527 for the driver Docker images. However, when deploying the EBS CSI from this repo it references Docker images that are not multiarch. Thus the deployment gets stuck in a crash loop. So ARM still won't work.
These images:
https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/963eccfc404f56540f025a93fd4966fa6a73458f/deploy/kubernetes/overlays/stable/kustomization.yaml
As well as snapshotted and resize. The ones from
qauy.io
and not multi arch.What you expected to happen?
A successful deployment of the EBS CSI Driver on ARM based servers like m6g.
How to reproduce it (as minimally and precisely as possible)?
Try to deploy the EBS CSI on ARM based systems.
Anything else we need to know?:
Environment
kubectl version
):v0.7.0
The text was updated successfully, but these errors were encountered: