Open marcusschiesser opened 6 years ago
We use Docker to run our tests, so if you use Docker containers you can use this command line
docker run -it --privileged -v /sys/bus/pci/drivers:/sys/bus/pci/drivers -v /sys/kernel/mm/hugepages:/sys/kernel/mm/hugepages -v /sys/devices/system/node:/sys/devices/system/node -v /dev:/dev yourimagename
I see, so the idea would be to run it as privileged
container on K8S that is directly accessing resources of the K8S node.
That means the K8S node needs to be configured accordingly - do you have setup recommendations for this? Also I guess a template for a K8S deployment descriptor would be helpful.
Hi @marcusschiesser ! Can you tell a little bit more about your application and NFF-Go? You can do it privately - areg dot melik-adamyan at intel dot com. We have that task in our roadmap but not on the top. If there is a production usage need, we can consider moving it up in the list.
I found a white paper about running DPDK programs as container on K8S, see: https://builders.intel.com/docs/networkbuilders/enabling_new_features_in_kubernetes_for_NFV.pdf
But this look overly complicated.
So what's the recommended setup for running a nff-go program as container on K8S?