GPU-Live/network-operator/ipiob/nicclusterpolicy.yaml

52 lines
1.4 KiB
YAML

apiVersion: mellanox.com/v1alpha1
kind: NicClusterPolicy
metadata:
name: nic-cluster-policy
spec:
rdmaSharedDevicePlugin:
# [map[ifNames:[ibs1f0] name:rdma_shared_device_a]]
image: k8s-rdma-shared-device-plugin
repository: ghcr.io/mellanox
version: v1.5.2
imagePullSecrets: []
# The config below directly propagates to k8s-rdma-shared-device-plugin configuration.
# Replace 'devices' with your (RDMA capable) netdevice name.
config: |
{
"configList": [
{
"resourceName": "rdma_shared_device",
"rdmaHcaMax": 63,
"selectors": {
"vendors": [],
"deviceIDs": [],
"drivers": [],
"ifNames": ["ib0", "ib1", "ib2", "ib3", "ib4", "ib5", "ib6", "ib7"],
"linkTypes": []
}
}
]
}
secondaryNetwork:
cniPlugins:
image: plugins
repository: ghcr.io/k8snetworkplumbingwg
version: v1.5.0
imagePullSecrets: []
multus:
image: multus-cni
repository: ghcr.io/k8snetworkplumbingwg
version: v4.1.0
imagePullSecrets: []
ipoib:
image: ipoib-cni
repository: ghcr.io/mellanox
version: 428715a57c0b633e48ec7620f6e3af6863149ccf
ipamPlugin:
image: whereabouts
repository: ghcr.io/k8snetworkplumbingwg
version: v0.7.0
imagePullSecrets: []