5.2.5 Validating a Module

When you have added a module to an environment, you should validate it is configured correctly for a deployment before you perform the installation. Validating a module checks that it can be installed by verifying any relevant environment state. If the validation fails, a set of commands is returned to help you fix any issues.

Use the olcnectl module validate command to validate modules in an environment. For example, to validate the kubernetes module named mycluster:

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