Skip to content

Add script to detect degraded HNS policies and validate endpoint references. - #21

Open
Prince Pereira (princepereira) wants to merge 1 commit into
microsoft:mainfrom
princepereira:ppereira-find-degradedpolicies
Open

Add script to detect degraded HNS policies and validate endpoint references.#21
Prince Pereira (princepereira) wants to merge 1 commit into
microsoft:mainfrom
princepereira:ppereira-find-degradedpolicies

Conversation

@princepereira

@princepereira Prince Pereira (princepereira) commented May 28, 2025

Copy link
Copy Markdown
Contributor

This script checks whether any load balancer policies are in a degraded state. When a policy is degraded (indicated by a state value of 4), kube-proxy may be unable to delete it, potentially leading to an infinite loop. Before confirming a policy as degraded, the script also verifies that its referenced endpoints are valid.

Logs

If issue detected

image

If there is no issue:

image

…rences.

Signed-off-by: Prince Pereira <ppereira@microsoft.com>
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.

1 participant