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
Observed Behavior:
When I change the underlying EC2NodeClass for the nodes by changing the spec.blockDeviceMappings (disk size specifically), Karpenter does not detect (or ignores) drift and nodes with previous disk size stick around.
Expected Behavior:
Karpenter should detect drift and start replacing the nodes that do not match the current EC2NodeClass, as is the case for other fields.
Reproduction Steps (Please include YAML):
Apply the following EC2NodeClass (use the appropriate values)
Submit some pods to the cluster for Karpenter to provision nodes.
Edit the disk size in the EC2NodeClass
Karpenter will not remove old nodes.
Versions:
Karpenter Version: v0.33.1
Kubernetes Version: 1.28
If this is indeed a bug and not a design decision, I'd be happy to take it up. From my point of view, there are certain cases where blockDeviceMappings should cause immediate replacement of nodes, so there should be a way to allow Karpenter to do that.
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:
Unfortunately, that change doesn't fix it. There's a PR out here #5454 to fix this but we needed some of the Drift Hash Versioning work to go in to enable us to change this in the API. That's done now so I'd keep an eye on #5454 since it should be merged soon.
Description
Observed Behavior:
When I change the underlying
EC2NodeClass
for the nodes by changing thespec.blockDeviceMappings
(disk size specifically), Karpenter does not detect (or ignores) drift and nodes with previous disk size stick around.Expected Behavior:
Karpenter should detect drift and start replacing the nodes that do not match the current
EC2NodeClass
, as is the case for other fields.Reproduction Steps (Please include YAML):
EC2NodeClass
(use the appropriate values)NodePool
that references thisEC2NodeClass
.EC2NodeClass
Versions:
If this is indeed a bug and not a design decision, I'd be happy to take it up. From my point of view, there are certain cases where
blockDeviceMappings
should cause immediate replacement of nodes, so there should be a way to allow Karpenter to do that.The text was updated successfully, but these errors were encountered: