Tim Gross
f0330d6df1
identity_hook: implement PreKill hook, not TaskStop hook (#18913 )
...
The allocrunner's `identity_hook` implements the interface for TaskStop, but
this interface is only ever called for task-level hooks. This results in a
leaked goroutine that tries to periodically renew WIs until the client shuts
down gracefully.
Add an implementation for the allocrunner's `PreKill` and `Destroy` hooks, so
that whenever an allocation is stopped or garbage collected we stop renewing its
Workload Identities. This also requires making the `Shutdown` method of `WIDMgr`
safe to call multiple times.
2023-10-30 10:54:22 -04:00
..
2023-10-27 10:33:00 -04:00
2023-08-10 17:27:15 -05:00
2023-10-30 10:54:22 -04:00
2023-09-29 12:46:28 -07:00
2023-10-27 13:03:44 -04:00
2023-10-20 14:03:56 -04:00
2023-08-15 14:38:18 -04:00
2023-08-10 17:27:15 -05:00
2023-10-24 09:12:34 -05:00
2023-10-24 09:58:25 -04:00
2023-09-12 09:11:11 -05:00
2023-10-26 09:42:10 -05:00
2023-08-10 17:27:15 -05:00
2023-09-21 16:03:53 -05:00
2023-08-10 17:27:15 -05:00
2023-10-17 13:46:49 -04:00
2023-10-09 09:16:23 -04:00
2023-10-20 13:05:55 -04:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2023-10-27 13:03:44 -04:00
2023-10-30 10:54:22 -04:00
2023-10-16 09:30:24 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-10-20 07:55:22 +01:00
2023-08-10 17:27:15 -05:00
2023-10-20 13:05:55 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-16 09:30:24 -04:00
2023-10-19 15:09:30 -05:00
2023-10-19 15:09:30 -05:00
2023-09-21 16:03:53 -05:00
2023-09-18 10:30:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-09-18 08:58:07 -05:00
2023-08-18 07:47:24 +01:00
2023-10-19 15:09:30 -05:00
2023-08-10 17:27:15 -05:00
2023-08-21 16:09:24 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-05 11:41:44 -04:00
2023-10-16 09:30:24 -04:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-08-10 17:27:15 -05:00
2023-10-13 07:39:06 +01:00