Closed wallrj closed 6 years ago
/assign
Some random thoughts copied from Slack conversations:
wait.Poll
ing for postStop hooks to complete.dumb-init
which we bypass by making /pilot
the entrypoint.uninterruptible sleep
. uninterruptible sleep
(so that's probably a red herring)This should be resolved by #183
/close
I noticed this in #157 and then again when I tried to write integration tests for Pilots.
I think the problem is that on receiving SIGTERM, the process polls for 10 minutes, waiting for the shutdown hooks to run. But they never run because there isn't a Pilot resource to trigger the sync and reconcileHooks methods.
/kind bug