You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CAUTION: This is an beta / non-production software, do not use on production clusters.
6
-
7
-
Network Operator allows automatic configuring and easier use of RDMA NICs with Intel AI accelerators.
5
+
Network Operator allows automatic configuring and easier use of NICs with Intel AI accelerators.
8
6
9
7
## Description
10
8
11
-
Network operator currently supports Gaudi and its integrated scale-out network interfaces.
9
+
Network operator supports Gaudi and its integrated scale-out network interfaces
10
+
as well as host based network interfaces.
12
11
13
-
### Intel® Gaudi®
12
+
### Intel® Gaudi® integrated NICs
14
13
15
14
Intel Gaudi and its integrated NICs are supported in two modes: L2 and L3.
16
15
@@ -28,16 +27,23 @@ The operator will deploy configuration Pods to the worker nodes which will liste
28
27
29
28
More info on the switch topology and configurations is available [here](https://docs.habana.ai/en/v1.20.0/Management_and_Monitoring/Network_Configuration/Configure_E2E_Test_in_L3.html).
30
29
30
+
### Host based network interface cards
31
+
32
+
Network operator uses [DRANet](https://github.com/kubernetes-sigs/dranet) to configure
33
+
host based network interface cards. Currently network cards supporting RDMA are
34
+
requested with the [DRANet DeviceClass](config/deployments/dranet/deviceclass.yaml)
35
+
with the name of the DeviceClass being configurable in the
The most important Network Operator CRD properties are:
148
174
175
+
*`configurationType` string
176
+
177
+
Enable Gaudi network scale-out configuration with `gaudi-so` or host based NICs with `hostnic-so`.
178
+
179
+
**Applicable for Gaudi Accelerators**
180
+
181
+
Properties under `gaudiScaleOut`
182
+
149
183
*`disableNetworkManager` boolean
150
184
151
185
Disable Gaudi scale-out interfaces in NetworkManager. For nodes where NetworkManager tries
@@ -175,6 +209,15 @@ The most important Network Operator CRD properties are:
175
209
176
210
Enable scale-out network metrics from an HTTP endpoint on the Pod. Prometheus can be configured to scrape the endpoint with [Service and ServiceMonitor objects](#prometheus-scale-out-network-metrics).
177
211
212
+
**Applicable for host NIC**
213
+
214
+
Properties under `hostNicScaleOut`
215
+
216
+
*`installDranet` boolean
217
+
218
+
Have Network Operator automatically install DRANet in the operator's namespace.
219
+
If set to `false` it is assumed that the cluster admin already has DRANet set up.
220
+
178
221
The full set of properties is available in the [NetworkClusterPolicy CRD definition](config/operator/crd/bases/intel.com_networkclusterpolicies.yaml).
179
222
Examples of Network Operator CRDs are found in the [samples directory](config/operator/samples/).
Copy file name to clipboardExpand all lines: api/v1alpha1/networkconfiguration_types.go
+37-5Lines changed: 37 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,21 @@ import (
21
21
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
22
22
23
23
// NetworkClusterPolicySpec defines the desired state of NetworkClusterPolicy
24
+
// +kubebuilder:validation:XValidation:rule="self.configurationType != 'gaudi-so' || has(self.nodeSelector)",message="nodeSelector is required when configurationType is gaudi-so"
24
25
typeNetworkClusterPolicySpecstruct {
25
-
// Configuration type that the operator will configure to the nodes. Possible options: gaudi-so.
26
-
// TODO: plausible other options: host-nic
27
-
// +kubebuilder:validation:Enum=gaudi-so
26
+
// Configuration type that the operator will configure to the nodes. Possible options: gaudi-so, hostnic-so.
0 commit comments