Open rata opened 3 years ago
We could get some inspiration from systemd and its "FD Store" facility that stores file descriptors from services when they restart (systemctl restart
). See FDSTORE=1
in
We could have this second daemonset you mention (seccomp-fdstorage
) to store the fds along with the related metadata.
But is the additional complexity worth it?
Oooor, just rely on the host systemd to save the fds for us, using that functionality. No "inspiration", just use it!
We should explore more that option (like security concerns, etc.) but seems worth exploring. Also, Kubernetes graceful shutdown KEP works only with systemd hosts, so most hosts really should have systemd. Maybe we can't use it if we want to run on GKE Autopilot, but all at its own time :)
Ideal future situation Roll a new version of the agent without impact on any running container on the nodes.
Implementation options Some random ideas that come to mind: