-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add SR-IOV examples #7
Conversation
c9eb810
to
679cd28
Compare
apps/sriov-kernel-nse/nse.yaml
Outdated
readOnly: true | ||
- name: nsm-socket | ||
mountPath: /var/lib/networkservicemesh | ||
# We don't actually need resources for NSE, but we need to be sure that it is going to be deployed on the |
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.
How selects the correct node for the deployment? I feel we need to cover this point in the README.md documents.
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.
Added comments to vfio-nsc, vfio-nse.
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: ponger | ||
data: | ||
pong.sh: | | ||
#!/bin/bash +x | ||
# shellcheck disable=SC2064 | ||
|
||
link="$1" | ||
ip_addr="$2" | ||
|
||
# Don't forget to delete IP address on exit | ||
trap "ip addr del dev '${link}' '${ip_addr}'" err exit | ||
|
||
# Add IP address and wake up the link | ||
ip addr add dev "${link}" "${ip_addr}" || exit 1 | ||
ip link set dev "${link}" up || exit 2 | ||
|
||
# Wait for exit | ||
sleep 60m |
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 this can be used via kubectl exec
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.
It is need to be executed as a main process for the ponger pod so it is better to be started from the .yaml config.
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
cf76ea6
to
76a3bc1
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
…cmd-registry-k8s@master networkservicemesh/cmd-registry-k8s# networkservicemesh/cmd-registry-k8s PR link: https://github.com/networkservicemesh/cmd-registry-k8s/pull/ networkservicemesh/cmd-registry-k8s commit message: commit 354bc51b2614874fc4511d43a60c871a7cffcf06 Author: Andrey Sobolev <haiodo@users.noreply.github.com> Date: Tue Jan 26 20:15:51 2021 +0700 Merge pull request #7 from glazychev-art/logger Update to new logger usage Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…cmd-admission-webhook-k8s@main networkservicemesh/cmd-admission-webhook-k8s# networkservicemesh/cmd-admission-webhook-k8s PR link: https://github.com/networkservicemesh/cmd-admission-webhook-k8s/pull/ networkservicemesh/cmd-admission-webhook-k8s commit message: commit 1e7335c03512d22f4ca812fbe028081b709724da Author: Denis Tingaikin <49399980+denis-tingaikin@users.noreply.github.com> Date: Fri May 7 20:43:54 2021 +0700 Merge pull request #7 from glazychev-art/readiness_probe Serve readiness probe on '/ready' path Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-nse-vlan-vpp@main PR link: https://github.com/networkservicemesh/cmd-nse-vlan-vpp/pull/ Commit: 171a0f2 Author: Denis Tingaikin Date: 2021-11-26 13:41:16 +0300 Message: - Merge pull request #7 from edwarnicke/gsofix Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-nse-vl3-vpp@main PR link: networkservicemesh/cmd-nse-vl3-vpp#7 Commit: cd0d1d4 Author: Denis Tingaikin Date: 2022-03-29 21:40:01 +0300 Message: - Merge pull request #7 from NikitaSkrynnik/update-manually Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-nse-istio-proxy@main PR link: networkservicemesh/cmd-nse-l7-proxy#7 Commit: beee1ea Author: Denis Tingaikin Date: 2022-05-30 15:08:40 +0300 Message: - Merge pull request #7 from glazychev-art/go_upd Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-lb-vl3-vpp@main PR link: networkservicemesh/cmd-lb-vl3-vpp#7 Commit: 49bb86e Author: Denis Tingaikin Date: 2023-10-03 13:50:19 +0300 Message: - Merge pull request #7 from glazychev-art/upd_otel Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-dashboard-ui@main PR link: networkservicemesh/cmd-dashboard-ui#7 Commit: 14da2e1 Author: Denis Tingaikin Date: 2024-10-08 14:40:07 +0300 Message: - Merge pull request #7 from Ex4amp1e/fix-cves Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…d-dashboard-ui@main (#12371) PR link: networkservicemesh/cmd-dashboard-ui#7 Commit: 14da2e1 Author: Denis Tingaikin Date: 2024-10-08 14:40:07 +0300 Message: - Merge pull request #7 from Ex4amp1e/fix-cves Signed-off-by: NSMBot <nsmbot@networkservicmesh.io> Co-authored-by: NSMBot <nsmbot@networkservicmesh.io>
Adds SR-IOV examples