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

Add SR-IOV examples #7

Merged
merged 5 commits into from
Jan 15, 2021
Merged

Conversation

Bolodya1997
Copy link

@Bolodya1997 Bolodya1997 commented Dec 30, 2020

Adds SR-IOV examples

@Bolodya1997 Bolodya1997 force-pushed the sriov branch 2 times, most recently from c9eb810 to 679cd28 Compare December 31, 2020 06:09
@Bolodya1997 Bolodya1997 changed the title Add SR-IOV VFIO example Add SR-IOV examples Dec 31, 2020
apps/sriov-kernel-nse/nse.yaml Outdated Show resolved Hide resolved
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
Copy link
Member

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.

Copy link
Author

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.

Comment on lines 1 to 22
---
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
Copy link
Member

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

Copy link
Author

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.

apps/vfio-nsc/nsc-configmap.yaml Outdated Show resolved Hide resolved
Vladimir Popov added 2 commits January 12, 2021 20:19
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 marked this pull request as ready for review January 12, 2021 13:25
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 marked this pull request as draft January 13, 2021 07:15
@Bolodya1997 Bolodya1997 marked this pull request as ready for review January 13, 2021 07:19
@Bolodya1997 Bolodya1997 marked this pull request as draft January 13, 2021 08:28
@Bolodya1997 Bolodya1997 force-pushed the sriov branch 2 times, most recently from cf76ea6 to 76a3bc1 Compare January 13, 2021 10:08
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 marked this pull request as ready for review January 14, 2021 06:04
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@denis-tingaikin denis-tingaikin merged commit db23b8d into networkservicemesh:main Jan 15, 2021
nsmbot pushed a commit that referenced this pull request Jan 26, 2021
…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>
nsmbot pushed a commit that referenced this pull request May 7, 2021
…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>
nsmbot pushed a commit that referenced this pull request Nov 26, 2021
…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>
nsmbot pushed a commit that referenced this pull request Mar 29, 2022
…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>
nsmbot pushed a commit that referenced this pull request May 30, 2022
…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>
nsmbot pushed a commit that referenced this pull request Oct 3, 2023
…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>
nsmbot pushed a commit that referenced this pull request Oct 8, 2024
…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>
nsmbot added a commit that referenced this pull request Oct 8, 2024
…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>
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

Successfully merging this pull request may close these issues.

2 participants