-
Notifications
You must be signed in to change notification settings - Fork 17
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
Prevent updating persistentStorage on Habitat CRD #308
Comments
The loop will not be infinite, there's a limit to how many times an object is requeued. |
The link looks broken at the moment. 🤔 |
Oops, here's the correct link. |
Permalink:
|
My impression was that rate limiting is not about limiting the number of retries, but it is rather about limiting a frequency of retries (through backoff times). A documentation of
But I might be wrong. Maybe Also, we call Forget only when an item was processed successfully or when the item is not a Habitat object. |
@krnowak You might be right. Worth looking into :) |
Attempting to change the size of a
persistentStorage
leads to the following error from the Kubernetes API:The HabitatCRD should have a check for this and not allow the update to be processed. This will prevent an infinite loop where the controller requeues the item when the update operation fails on the Kubernetes API.
The text was updated successfully, but these errors were encountered: