jetstack / navigator

Managed Database-as-a-Service (DBaaS) on Kubernetes
Apache License 2.0
271 stars 31 forks source link

Pilot process takes > 10 minutes to exit unless there is a corresponding Pilot resource #171

Closed wallrj closed 6 years ago

wallrj commented 6 years ago

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

munnerz commented 6 years ago

/assign

wallrj commented 6 years ago

Some random thoughts copied from Slack conversations:

munnerz commented 6 years ago

This should be resolved by #183

/close