Validating Designs

Prior to deploying a design, you can validate the configuration that it contains in accordance with the target platform.

Meshery uses static analysis to verify your design. It checks all components within your design and all configured and unconfigured properties of your components against well-defined schemas based on Meshery Models.

This comprehensive validation ensures that:

  1. The design adheres to the expected structure and format.

  2. All components are valid and recognized by Meshery.

  3. There are no missing required configurations.

  1. To validate your design, navigate to the Actions button at the top of the Design canvas.

Navigate to Actions button

  1. Click on the Validate Icon.

Click on the Validate icon

Actions menu with Validate available; Dry Run, Deploy, and Undeploy disabled while signed out
Actions menu (anonymous capture, Sep 2026): Validate is available without sign-in; Dry Run / Deploy / Undeploy stay disabled until you have a signed-in session and target context.

If the validation is successful, you will see a modal displaying the number of components validated and the number of annotations, similar to the one shown below:

Successful Validation

Validation complete notification toasts after running Validate
Validation result toasts (same anonymous session as the autosave capture). Prefer the modal above for the component/annotation counts UI when it matches your build.

If your design fails validation checks, the modal will indicate the number of errors detected. Each error will provide specific information about the component or annotation that caused the failure. Use this detailed feedback to identify and correct the issues in your design before proceeding with the deployment.

A common validation error is:

Missing Required Field: This happens when a required field is not provided. For example, in the image below, the component is missing three required properties under “.spec”, and the first error names instanceCount. Click the component’s row in the modal to expand its errors.

Validation Error

To troubleshoot and remediate validation issues:

  1. Click on the error on the modal.
  2. This will open the configuration tab of the component that has that error.
  3. Fix the configuration using the error details provided.
  4. Re-run validation after any significant changes to your design to ensure all issues are resolved.

The validation process is confined to schema-based checks within Meshery and does not require communication with your target environment.

Related Reading