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
Tell us about your request
Enhance EKS Upgrade Insights to validate the current state of resources flagged for deprecated API usage, rather than relying solely on the 30-day audit log window.
Which service(s) is this request for?
EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, EKS Upgrade Insights scans cluster audit logs using a 30-day rolling window to detect deprecated API usage. This creates a significant problem for automated upgrade workflows:
- When a deprecated API call is detected, it's flagged in Upgrade Insights
- Even after fixing the resource to use the current API version, the error persists in Upgrade Insights for up to 30 days (until the original audit log entry falls outside the rolling window)
- This blocks automated cluster upgrades that rely on Upgrade Insights for validation, even though the actual resources are using supported API versions
Impact:
- Forces unnecessary use of --force flag in automated upgrades
- Reduces reliability of automation workflows
- Creates false positives that need manual verification
- Could lead to skipping important upgrade readiness checks due to reliance on --force
Are you currently working around this issue?
Currently, we have two suboptimal workarounds:
- Wait 30 days after fixing deprecated APIs before attempting upgrades
- Use the --force flag to bypass Upgrade Insights validation, which defeats the purpose of having the validation
Additional context
Proposed enhancement:
When Upgrade Insights detects a deprecated API usage from audit logs, it should:
- Check the current state of the flagged resource
- If the resource now uses a supported API version, remove the error from Upgrade Insights
- Keep the historical audit log data for reference but don't block upgrades based on resolved issues
This would maintain the value of Upgrade Insights while eliminating false positives that currently force the use of --force flag or 30-day waiting periods.
Attachments
N/A
References
- https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html#update-cluster-control-plane
Community Note
Tell us about your request
Enhance EKS Upgrade Insights to validate the current state of resources flagged for deprecated API usage, rather than relying solely on the 30-day audit log window.
Which service(s) is this request for?
EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, EKS Upgrade Insights scans cluster audit logs using a 30-day rolling window to detect deprecated API usage. This creates a significant problem for automated upgrade workflows:
Impact:
Are you currently working around this issue?
Currently, we have two suboptimal workarounds:
Additional context
Proposed enhancement:
When Upgrade Insights detects a deprecated API usage from audit logs, it should:
This would maintain the value of Upgrade Insights while eliminating false positives that currently force the use of --force flag or 30-day waiting periods.
Attachments
N/A
References