You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/kanvas/tasks/designs/validating-designs.md
+45-3Lines changed: 45 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,51 @@ aliases:
9
9
- /meshmap/tasks/designs/validating-designs
10
10
---
11
11
12
-
{{% pageinfo %}}
13
-
Page under construction.
14
-
{{% /pageinfo %}}
12
+
## How Validation Works
13
+
14
+
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.
15
+
16
+
This comprehensive validation ensures that:
17
+
18
+
1. The design adheres to the expected structure and format.
19
+
20
+
2. All components are valid and recognized by Meshery.
21
+
22
+
3. There are no missing required configurations.
23
+
24
+
## Performing Validation
25
+
26
+
1. To validate your design, navigate to the Actions button at the top of the Design canvas.
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:
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.
39
+
40
+
### Validation Errors
41
+
42
+
A common validation error is:
43
+
44
+
**Missing Required Field:** This happens when a required field is not provided. For example, in the image below, the first error indicates that the field ".spec.template.spec.containers.0.env.0" must have a value.
0 commit comments