-
Notifications
You must be signed in to change notification settings - Fork 0
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
Launch testpmd and trex with an infinite loop entrypoint #92
base: main
Are you sure you want to change the base?
Conversation
8909940
to
b861677
Compare
from change #92: |
b861677
to
8bf1e5a
Compare
from change #92: |
9d64f73
to
8106fa1
Compare
from change #92: |
8106fa1
to
cb0807d
Compare
from change #92: |
This work is finished, closing this |
Retaking this to test grout integration |
cb0807d
to
2a3eff3
Compare
from change #92: |
from change #92: |
from change #92: |
from change #92: |
2a3eff3
to
5515318
Compare
ENTRYPOINT ["/usr/local/bin/example-cnf/testpmd-wrapper"] | ||
#ENTRYPOINT ["/usr/local/bin/example-cnf/testpmd-wrapper"] | ||
## Make the container to live forever without executing testpmd-wrapper, we'll run it manually | ||
ENTRYPOINT ["/usr/local/bin/example-cnf/run/infinite.sh"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use sleep infinity
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I tried in the past and had troubles with that. Anyway I don't intend to merge this change, this is just for troubleshooting
Not intended to be merged, this is just for experimenting for DPDK Summit 2024 presentation and for grout integration.
The idea of this change is to launch testpmd and trex with an infinite loop as entrypoint, so that we can manually launch the commands to run both tools. For this, we need to remove lifecycle commands and probes to avoid the pod to be restarted.