If a declarative manifest file is not applied because of an error, you can rerun the manifest application CLI command with a debugging option to see the error in the output, correct the error, and then re-apply the manifest.

Prerequisites

Procedure

  1. In a terminal window, change to the local folder where you cloned the manifest files from the Git repository.
  2. Run the following CLI command.
    tanzu sm apply -f {manifest YAML file} --debug

    sm is the alias for the Tanzu Service Mesh plugin in the Tanzu CLI. You can replace sm with service-mesh. {manifest YAML file} is the name of the manifest YAML file that was not applied.

  3. Locate the error in the output of the command.
  4. Correct the error and re-apply the manifest file.