-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Remove startupProbe in kubernetes-overlord-extensions #17784
base: master
Are you sure you want to change the base?
Remove startupProbe in kubernetes-overlord-extensions #17784
Conversation
Signed-off-by: Sebastian Struß <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, if you have time could you add a unit test checking this behavior?
Signed-off-by: Sebastian Struß <[email protected]>
I have added a unit test, but i can't execute it on my end because IntelliJ IDEA can't resolve Maybe you can try it? |
you should be able to run the tests and style check locally from the kubernetes-overlord-extension directory |
I am aware that i should be able to run it and IntelliJ IDEA also has a run button, so that i can run specific tests. However I assume that my local setup is not quite correct, so that it doesn't work. I haven't developed Java in a century and even before that not on a professional level. Feel free to fix what's not working or tell me where I can look for potential fixes for my local env.
|
As you can see even the CI is failing due to some issues with twitter right now, so I guess this one will be delayed until they are stable again. |
Partially Fixes #17783.
Description
The readiness and liveness probes are removed, however the startup probe remains - which makes peon tasks never get healthy and kills them after not coming up long enough.
Fixed the bug ...
Renamed the class ...
Added a forbidden-apis entry ...
Release note
Removed Startup probe in kubernetes-overlord-extentions, so that peon tasks can start up properly without being killed by kubernetes.
Key changed/added classes in this PR
This PR has: