-
Notifications
You must be signed in to change notification settings - Fork 980
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
Support region topology for the ebs in tree provider #1109
Comments
It looks like the topology region label is getting applied to your volume somehow. Is it possible that this label is a property on your storage class for some reason? Karpenter doesn't support (currently) the region label since it doesn't support multiple regions. We could always add noop support for it, but I'm curious how this is getting applied in the first place. |
Yeah, my volumes have the following labels:
And the following nodeAffinity:
But the StorageClass doesn't have any unexpected settings:
I have 3 EKS clusters in different regions and all of them have the same behavior. I see the difference that I'm using default gp2 provisioner |
I know of a couple of configurations that will cause this. I don't know what EKS use, but I am guessing it depends on versions. First off, there is this KCM admission controller |
Yeah, I've tested it. When I use https://kubernetes.io/docs/concepts/storage/volumes/#awselasticblockstore When I use AWS EBS CSI driver the volume looks like this and seems it will work as expected:
At the same time https://kubernetes.io/docs/concepts/storage/volumes/#awselasticblockstore is default EBS provisioner in EKS clusters at the moment |
How difficult is it for you to migrate to the out-of-tree provider? I think we likely want to support the in-tree in the short term, but perhaps not in the long term. |
@ellistarn This issue was a good point to try an out-of-tree storage provider (: |
Probably it would be good to update the documentation about this limitation to avoid new similar issues |
I ran into this issue yesterday. Having support for the in-tree provisioner would be greatly appreciated! I will look into switching to the AWS EBS CSI driver, but I assume that will be too much churn right now. |
We're running into an issue where the in-tree provisioner used the deprecated
It would be really helpful if Karpenter could support these labels for those of us still using in-tree provisioned volumes. More context: https://gist.github.com/DWSR/ee176d7cb1d7678ebbe23f8b38ae2885 |
We're running into this same issue that prevents us from adopting Karpenter unfortunately. A workaround to support in-tree provisioner would be greatly appreciated because migrating in-tree PV to CSI PV won't be supported in EKS in foreseeable future: kubernetes-sigs/aws-ebs-csi-driver#480 (comment) |
I also got the same issue. Really wait for this feature to be supported soon. Thanks |
hi, Folks. Looks like you should add v1.LabelFailureDomainBetaRegion to IgnoredLabels too
until add v1.LabelFailureDomainBetaRegion (failure-domain.beta.kubernetes.io/region) to IgnoredLabels |
I'm using v0.6.0 and have the exact same issue. |
Version
Karpenter: v0.5.4
Kubernetes: v1.21.5
Expected Behavior
Karpenter creates nodes using volume topology when a PVC already exists for a pod
Actual Behavior
Karpenter can't create a new node due to wrong
nodeSelector
Steps to Reproduce the Problem
Use the following steps and manifests.
So it looks like Karpenter can't provision nodes if a PVC already exists for a pod.
Manifests:
Resource Specs and Logs
Provisioner:
Log:
Part of pod spec:
As I can see Karpenter tries to use some other
nodeSelector
for some reason.The text was updated successfully, but these errors were encountered: