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

Panic with devision by 0 if all pods are ignored #274

Open
tony-bondarenko opened this issue Mar 3, 2025 · 0 comments
Open

Panic with devision by 0 if all pods are ignored #274

tony-bondarenko opened this issue Mar 3, 2025 · 0 comments

Comments

@tony-bondarenko
Copy link

If all pods are ignored there is division by 0 panic in replica calculation process.

ratioReadyPods := int32(100 * readyPodCount / (len(podList) - len(ignoredPods)))

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

No branches or pull requests

1 participant