You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have three pods in stateful set, each of them has volume in different AZ.
When I scale STS from 0 to 1, Karpenter creates a node for a pod from different zone than volume.
And the pod can't start.
│ Warning FailedAttachVolume 6s attachdetach-controller AttachVolume.Attach failed for volume "pvc-221eed59-ffab-4986-9d13-1c408474597a │
│ " : error attaching EBS volume "vol-0c01c1ec9ec633405" to instance "i-0370927d1b2294b18": "InvalidVolume.ZoneMismatch: The volume 'vol-0c01c1ec9ec633405' is │
│ not in the same availability zone as instance 'i-0370927d1b2294b18'\n\tstatus code: 400, request id: 456911a7-40e6-48bf-8fdd-0b0fe8033df8"
How can I solve it? I have the following provisioner:
Does Karpenter consider persistent storage/volume?
For example I can have all volumes in only one zone but I don't want to specify only one zone in Provisoner because of future scaling.
In this case I expected that Karpenter would create all nodes from zones where I have related pvc/pv first.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Tell us about your request
I have three pods in stateful set, each of them has volume in different AZ.
When I scale STS from 0 to 1, Karpenter creates a node for a pod from different zone than volume.
And the pod can't start.
How can I solve it? I have the following provisioner:
Does Karpenter consider persistent storage/volume?
For example I can have all volumes in only one zone but I don't want to specify only one
zone
inProvisoner
because of future scaling.In this case I expected that Karpenter would create all nodes from zones where I have related pvc/pv first.
Community Note
The text was updated successfully, but these errors were encountered: