Delete the GPU OperatorΒΆ
This is a pre-release feature and may not function as described in StarlingX 5 documentation.
Use the commands in this section to delete the GPU Operator, if required.
Prerequisites
Ensure that all user generated pods with access to nvidia.com/gpu resources are deleted first.
Procedure
Remove the GPU Operator pods from the system using the following commands:
~(keystone_admin)]$ helm delete gpu-operator ~(keystone_admin)]$ kubectl delete runtimeclasses.node.k8s.io nvidia
Remove the GPU Operator, and remove the service parameter platform container_runtime custom_container_runtime from the system, using the following commands:
Lock the host(s).
~(keystone_admin)]$ system host-lock <hostname>
List the service parameter using the following command.
~(keystone_admin)]$ system service-parameter-list
Remove the service parameter platform container_runtime custom_container_runtime from the system, using the following command.
~(keystone_admin)]$ system service-parameter-delete <service param ID>
where
<service param ID>
is the ID of the service parameter, for example, 3c509c97-92a6-4882-a365-98f1599a8f56.Unlock the hosts(s).
~(keystone_admin)]$ system host-unlock <hostname>
For information on configuring the GPU Operator, see Configure NVIDIA GPU Operator for PCI Passthrough Operator.