Question 440
A developer specifies an HPA minimum replica count above its maximum and the autoscaling resource is rejected by the cluster. Following the correction (Correct the supported autoscaler manifest so minimum and maximum replica counts form a valid range.), which ongoing safeguard best helps prevent the same issue?
Explanation
Correct Answer
Lint autoscaler configuration and test its safe minimum and maximum settings before deployment. This addresses recurrence of: The manifest contains inconsistent replica bounds and was never schema-validated. It supports the operational change: Correct the supported autoscaler manifest so minimum and maximum replica counts form a valid range.
Incorrect Answers
Test autoscaler placement with real zonal storage claims, not only stateless Pods. This measure applies to: Node autoscaling does not respect the storage topology required by the workload's persistent claims. The control needed to prevent the observed issue is: Lint autoscaler configuration and test its safe minimum and maximum settings before deployment.
The measure helps with: Scale-in policy lacks the workload safeguards and minimum node floor needed for availability. It does not directly guard against: The manifest contains inconsistent replica bounds and was never schema-validated. Use the continuing control: Lint autoscaler configuration and test its safe minimum and maximum settings before deployment.
Document namespace boundaries and snapshot portability constraints for recovery plans. That addresses a different recurring mechanism. The current causal risk is: The manifest contains inconsistent replica bounds and was never schema-validated. The ongoing safeguard is: Lint autoscaler configuration and test its safe minimum and maximum settings before deployment.