|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: nicconfigurationtemplates.configuration.net.nvidia.com |
| 8 | +spec: |
| 9 | + group: configuration.net.nvidia.com |
| 10 | + names: |
| 11 | + kind: NicConfigurationTemplate |
| 12 | + listKind: NicConfigurationTemplateList |
| 13 | + plural: nicconfigurationtemplates |
| 14 | + singular: nicconfigurationtemplate |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - name: v1alpha1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: NicConfigurationTemplate is the Schema for the nicconfigurationtemplates |
| 21 | + API |
| 22 | + properties: |
| 23 | + apiVersion: |
| 24 | + description: |- |
| 25 | + APIVersion defines the versioned schema of this representation of an object. |
| 26 | + Servers should convert recognized schemas to the latest internal value, and |
| 27 | + may reject unrecognized values. |
| 28 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 29 | + type: string |
| 30 | + kind: |
| 31 | + description: |- |
| 32 | + Kind is a string value representing the REST resource this object represents. |
| 33 | + Servers may infer this from the endpoint the client submits requests to. |
| 34 | + Cannot be updated. |
| 35 | + In CamelCase. |
| 36 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 37 | + type: string |
| 38 | + metadata: |
| 39 | + type: object |
| 40 | + spec: |
| 41 | + description: Defines the desired state of NICs |
| 42 | + properties: |
| 43 | + nicSelector: |
| 44 | + description: NIC selector configuration |
| 45 | + properties: |
| 46 | + nicType: |
| 47 | + description: Type of the NIC to be selected, e.g. 101d,1015,a2d6 |
| 48 | + etc. |
| 49 | + type: string |
| 50 | + pciAddresses: |
| 51 | + description: Array of PCI addresses to be selected, e.g. "0000:03:00.0" |
| 52 | + items: |
| 53 | + type: string |
| 54 | + type: array |
| 55 | + serialNumbers: |
| 56 | + description: Serial numbers of the NICs to be selected, e.g. MT2116X09299 |
| 57 | + items: |
| 58 | + type: string |
| 59 | + type: array |
| 60 | + required: |
| 61 | + - nicType |
| 62 | + type: object |
| 63 | + nodeSelector: |
| 64 | + additionalProperties: |
| 65 | + type: string |
| 66 | + description: NodeSelector contains labels required on the node |
| 67 | + type: object |
| 68 | + resetToDefault: |
| 69 | + default: false |
| 70 | + description: |- |
| 71 | + ResetToDefault specifies whether node agent needs to perform a reset flow |
| 72 | + The following operations will be performed: |
| 73 | + * Nvconfig reset of all non-volatile configurations |
| 74 | + - Mstconfig -d <device> reset for each PF |
| 75 | + - Mstconfig -d <device> set ADVANCED_PCI_SETTINGS=1 |
| 76 | + * Node reboot |
| 77 | + - Applies new NIC NV config |
| 78 | + - Will undo any runtime configuration previously performed for the device/driver |
| 79 | + type: boolean |
| 80 | + template: |
| 81 | + description: Configuration template to be applied to matching devices |
| 82 | + properties: |
| 83 | + gpuDirectOptimized: |
| 84 | + description: GPU Direct optimization settings |
| 85 | + properties: |
| 86 | + enabled: |
| 87 | + description: Optimize GPU Direct |
| 88 | + type: boolean |
| 89 | + env: |
| 90 | + description: GPU direct environment, e.g. Baremetal |
| 91 | + type: string |
| 92 | + required: |
| 93 | + - enabled |
| 94 | + - env |
| 95 | + type: object |
| 96 | + linkType: |
| 97 | + description: LinkType to be configured, Ethernet|Infiniband |
| 98 | + enum: |
| 99 | + - Ethernet |
| 100 | + - Infiniband |
| 101 | + type: string |
| 102 | + numVfs: |
| 103 | + description: Number of VFs to be configured |
| 104 | + type: integer |
| 105 | + pciPerformanceOptimized: |
| 106 | + description: PCI performance optimization settings |
| 107 | + properties: |
| 108 | + enabled: |
| 109 | + description: Specifies whether to enable PCI performance optimization |
| 110 | + type: boolean |
| 111 | + maxAccOutRead: |
| 112 | + description: Specifies the PCIe Max Accumulative Outstanding |
| 113 | + read bytes |
| 114 | + type: integer |
| 115 | + maxReadRequest: |
| 116 | + description: Specifies the size of a single PCI read request |
| 117 | + in bytes |
| 118 | + enum: |
| 119 | + - 128 |
| 120 | + - 256 |
| 121 | + - 512 |
| 122 | + - 1024 |
| 123 | + - 2048 |
| 124 | + - 4096 |
| 125 | + type: integer |
| 126 | + required: |
| 127 | + - enabled |
| 128 | + type: object |
| 129 | + roceOptimized: |
| 130 | + description: RoCE optimization settings |
| 131 | + properties: |
| 132 | + enabled: |
| 133 | + description: Optimize RoCE |
| 134 | + type: boolean |
| 135 | + qos: |
| 136 | + description: Quality of Service settings |
| 137 | + properties: |
| 138 | + pfc: |
| 139 | + description: Priority-based Flow Control configuration, |
| 140 | + e.g. "0,0,0,1,0,0,0,0" |
| 141 | + pattern: ^([01],){7}[01]$ |
| 142 | + type: string |
| 143 | + trust: |
| 144 | + description: Trust mode for QoS settings, e.g. trust-dscp |
| 145 | + type: string |
| 146 | + required: |
| 147 | + - pfc |
| 148 | + - trust |
| 149 | + type: object |
| 150 | + required: |
| 151 | + - enabled |
| 152 | + type: object |
| 153 | + required: |
| 154 | + - linkType |
| 155 | + - numVfs |
| 156 | + type: object |
| 157 | + required: |
| 158 | + - nicSelector |
| 159 | + - template |
| 160 | + type: object |
| 161 | + status: |
| 162 | + description: Defines the observed state of NicConfigurationTemplate |
| 163 | + properties: |
| 164 | + nicDevices: |
| 165 | + description: NicDevice CRs matching this configuration template |
| 166 | + items: |
| 167 | + type: string |
| 168 | + type: array |
| 169 | + type: object |
| 170 | + type: object |
| 171 | + served: true |
| 172 | + storage: true |
| 173 | + subresources: |
| 174 | + status: {} |
| 175 | +status: |
| 176 | + acceptedNames: |
| 177 | + kind: "" |
| 178 | + plural: "" |
| 179 | + conditions: null |
| 180 | + storedVersions: null |
0 commit comments