Actions and privileges

11 views
Skip to first unread message

Daniel Finneran

unread,
Feb 9, 2021, 6:47:52 AM2/9/21
to Tinkerbell Contributors
At the moment we start all actions as docker containers with --privileges, the effectively gives them all CAPs (from a linux perspective). One thing that we don't use are additional levels of functionality around namespaces.. 

So two things to consider:

Pid Namespace
(this is needed for kexec), this would allow an action to run amongst all other pids of the host.

Net Namespace
At the moment we leave docker to create veths and bridges and do NATing and all the other docker network goodness.. If we use the net namespace host we would simply use the existing network stack and wouldn't require docker to create all the additional overhead.

I look forward to hearing other peoples thoughts. 

-Dan
Reply all
Reply to author
Forward
0 new messages