Created
August 26, 2024 13:32
-
-
Save kincl/45d1382f3fe8cba4d729a8f6541ff97c to your computer and use it in GitHub Desktop.
SRIOV Operator configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: sriovnetwork.openshift.io/v1 | |
kind: SriovNetwork | |
metadata: | |
name: sriovnetwork | |
namespace: openshift-sriov-network-operator | |
spec: | |
ipam: | | |
{ | |
"type": "whereabouts", | |
"range": "172.20.133.0/24", | |
"exclude": ["172.20.133.1/32", "172.20.133.2/32", "172.20.133.3/32"] | |
} | |
logLevel: info | |
networkNamespace: default | |
resourceName: sriov_netdevice_ens4f1 | |
spoofChk: "on" | |
trust: "off" | |
vlan: 1105 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: sriovnetwork.openshift.io/v1 | |
kind: SriovNetworkNodePolicy | |
metadata: | |
name: sriov-config-netdevice-ens4f1 | |
namespace: openshift-sriov-network-operator | |
spec: | |
deviceType: vfio-pci | |
isRdma: false | |
nicSelector: | |
deviceID: 10fb | |
pfNames: | |
- ens4f1 | |
rootDevices: | |
- "0000:06:00.1" | |
vendor: "8086" | |
nodeSelector: | |
feature.node.kubernetes.io/network-sriov.capable: "true" | |
numVfs: 10 | |
priority: 50 | |
resourceName: sriov_netdevice_ens4f1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment