Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended setup for running on K8S #435

Open
marcusschiesser opened this issue Jul 27, 2018 · 3 comments
Open

Recommended setup for running on K8S #435

marcusschiesser opened this issue Jul 27, 2018 · 3 comments
Assignees
Milestone

Comments

@marcusschiesser
Copy link
Contributor

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?

@gshimansky
Copy link
Contributor

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

@marcusschiesser
Copy link
Contributor Author

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.

@aregm
Copy link
Owner

aregm commented Jul 31, 2018

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.

@aregm aregm self-assigned this Oct 4, 2018
@aregm aregm added this to the v0.7.0 milestone Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants