5.2.9 Uninstalling a Module

Use the olcnectl module uninstall command to uninstall modules from an environment. Uninstalling the module also removes the module configuration from the Platform API Server. For example, to uninstall the kubernetes module named mycluster:

$ olcnectl --api-server 127.0.0.1:8091 module uninstall --environment-name myenvironment \
  --name mycluster

In this example, the Kubernetes containers are stopped and deleted on each node, and the Kubernetes cluster is removed.