-
Notifications
You must be signed in to change notification settings - Fork 54
[Question] Handles simulated termination events? #8
Comments
Seeing similar behaviour; a manual STOP seemed to trigger no action at all by the node-termination-handler (neither in the logs, or nothing cordoned). Should we send the signal manually to test the behaviour ? |
What base image (COS vs Ubuntu) was used for the test? Was the test performed on GKE? |
Yes, GKE COS. |
If you follow the code from here, I'm pretty sure this does not handle manual termination. |
Any pointers as to how would one add support for manual termination too? |
@larsha answered this for me in the gke slack, you can "simulate" (manually invoke) this with: I validated with a standalone ubuntu pod running this curl:
And then running the |
Hi there,
Does this handle simulated terminations via Stopping a preemptible instance manually? Initial test seems to suggest not, node was not being drained
If not, how can we test terminations?
Thanks,
Jonathan
The text was updated successfully, but these errors were encountered: