-
Notifications
You must be signed in to change notification settings - Fork 53
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
Pod status rule is misleading #65
Comments
I was wondering if/when this would ever come back to bite me... #37 I suspect that
There isn't anything that detects "Running" container state right now, and I think changing the "container status" rule would probably would result in behavior that isn't intended (I think changing the already existing rule would result in the pod being flagged for reaping if ANY of the containers in it were "Running" -- like it currently identifies if ANY container in the pod is "terminated" or "waiting"... uhg... |
Perhaps the way forward is
|
+1 to the suggestion from @jdharmon above. We spent quite some time understanding why pod reaper was not working when using |
Kubectl shows the pod phase as the status, e.g. Running, Succeeded, Failed. The pod status rule checks the optional reason, e.g. Evicted. This is confusing, and also means you cannot create a
POD_STATUS=Running
rule. Can we change the pod status rule to use phase? Should the current reason rule be renamed/use a different env variable?POD_STATUS_REASON
?Relevant documentation:
The text was updated successfully, but these errors were encountered: