|
| 1 | +# 2022 NVIDIA CORPORATION & AFFILIATES |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +apiVersion: mellanox.com/v1alpha1 |
| 15 | +kind: NicClusterPolicy |
| 16 | +metadata: |
| 17 | + name: nic-cluster-policy |
| 18 | +spec: |
| 19 | + ofedDriver: |
| 20 | + image: mofed |
| 21 | + repository: nvcr.io/nvidia/mellanox |
| 22 | + version: 5.7-1.0.2.0 |
| 23 | + startupProbe: |
| 24 | + initialDelaySeconds: 10 |
| 25 | + periodSeconds: 10 |
| 26 | + livenessProbe: |
| 27 | + initialDelaySeconds: 30 |
| 28 | + periodSeconds: 30 |
| 29 | + readinessProbe: |
| 30 | + initialDelaySeconds: 10 |
| 31 | + periodSeconds: 30 |
| 32 | + rdmaSharedDevicePlugin: |
| 33 | + image: k8s-rdma-shared-dev-plugin |
| 34 | + repository: nvcr.io/nvidia/cloud-native |
| 35 | + version: v1.3.2 |
| 36 | + # The config below directly propagates to k8s-rdma-shared-device-plugin configuration. |
| 37 | + # Replace 'devices' with your (RDMA capable) netdevice name. |
| 38 | + config: | |
| 39 | + { |
| 40 | + "configList": [ |
| 41 | + { |
| 42 | + "resourceName": "rdma_shared_device_a", |
| 43 | + "rdmaHcaMax": 1000, |
| 44 | + "selectors": { |
| 45 | + "vendors": ["15b3"], |
| 46 | + "deviceIDs": ["101b"] |
| 47 | + } |
| 48 | + } |
| 49 | + ] |
| 50 | + } |
| 51 | + secondaryNetwork: |
| 52 | + cniPlugins: |
| 53 | + image: plugins |
| 54 | + repository: ghcr.io/k8snetworkplumbingwg |
| 55 | + version: v0.8.7-amd64 |
| 56 | + ipoib: |
| 57 | + image: ipoib-cni |
| 58 | + repository: nvcr.io/nvidia/cloud-native |
| 59 | + version: v1.1.0 |
| 60 | + multus: |
| 61 | + image: multus |
| 62 | + repository: nfvpe |
| 63 | + version: v3.8 |
| 64 | + config: '' |
| 65 | + ipamPlugin: |
| 66 | + image: whereabouts |
| 67 | + repository: ghcr.io/k8snetworkplumbingwg |
| 68 | + version: v0.5.2-amd64 |
| 69 | + nvPeerDriver: |
| 70 | + image: nv-peer-mem-driver |
| 71 | + repository: mellanox |
| 72 | + version: 1.1-0 |
| 73 | + gpuDriverSourcePath: /run/nvidia/driver |
0 commit comments