5.6.5.2. Enabling the SR-IOV Network Operator in a hosted cluster
You can enable the SR-IOV Network Operator to manage SR-IOV-capable devices on nodes deployed by the NodePool resource. The operator runs in the hosted cluster and requires labeled worker nodes.
Procedure
Generate a
kubeconfigfile for the hosted cluster by running the following command:$ hcp create kubeconfig --name $CLUSTER_NAME > $CLUSTER_NAME-kubeconfigCreate a
kubeconfigresource environment variable by running the following command:$ export KUBECONFIG=$CLUSTER_NAME-kubeconfigLabel each worker node to indicate SR-IOV capability by running the following command:
$ oc label node <worker_node_name> feature.node.kubernetes.io/network-sriov.capable=truewhere:
<worker_node_name>- Specifies the name of a worker node in the hosted cluster.
- Install the SR-IOV Network Operator in the hosted cluster by following the instructions in "Installing the SR-IOV Network Operator".
- After installation, configure SR-IOV workloads in the hosted cluster by using the same process as for a standalone cluster.