Skip to content
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

Change HPA to account for Kubernetes tolerances #681

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

bryanlb
Copy link
Contributor

@bryanlb bryanlb commented Sep 20, 2023

Summary

This changes the HPA logic to account for the Kubernetes tolerances (see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#algorithm-details).

This also changes the implicit maintenance window to instead return a nominal value, as the implicit maintenance mode effectively locks out autoscaling until the next deploy for that replicaset.

@bryanlb bryanlb force-pushed the bburkholder/hpa-adjustments branch 3 times, most recently from 837b479 to 171c161 Compare September 21, 2023 17:19
@bryanlb bryanlb changed the title Switch HPA to use target window instead of fixed value Change HPA to account for Kubernetes tolerances Sep 21, 2023
@bryanlb
Copy link
Contributor Author

bryanlb commented Sep 21, 2023

Should be merged after #680

@bryanlb bryanlb marked this pull request as ready for review September 21, 2023 18:16
@bryanlb bryanlb force-pushed the bburkholder/hpa-adjustments branch from 171c161 to 685d5c4 Compare September 21, 2023 22:04
@bryanlb bryanlb merged commit 3818a36 into master Sep 22, 2023
@bryanlb bryanlb deleted the bburkholder/hpa-adjustments branch September 22, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants