diff --git a/content-learn/mastering-meshery/introduction-to-meshery/meshery/deploying-meshery-designs.mdx b/content-learn/mastering-meshery/introduction-to-meshery/meshery/deploying-meshery-designs.mdx index 7e90ab1244273..585853617de95 100644 --- a/content-learn/mastering-meshery/introduction-to-meshery/meshery/deploying-meshery-designs.mdx +++ b/content-learn/mastering-meshery/introduction-to-meshery/meshery/deploying-meshery-designs.mdx @@ -61,7 +61,7 @@ There are two modes on the Actions button: In this chapter, we focus on utilizing the first option to provide a comprehensive view of the deployment process. - +

Design Validation

@@ -85,15 +85,15 @@ This comprehensive validation ensures that: 1. Click on the **Validate** Icon. - + 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: - {" "} + - +

Handling Validation Errors

@@ -107,7 +107,7 @@ A common validation error is: 1. **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. - + To troubleshoot and remediate validation issues: @@ -132,7 +132,7 @@ A dry run in Meshery simulates the deployment of your design in the selected tar 1. Re-run the dry run to ensure all issues have been resolved. - +

Examples of Dry Run Errors

@@ -142,17 +142,17 @@ Some examples of dry run errors are: 1. **Invalid Field Value**: The error message indicates that a field has an invalid value. For instance, in the image below, the fields "spec > ports[0] > port" and "spec > ports[0] > targetPort" have invalid values of 0. These values must be between 1 and 65535, inclusive. - + - + 1. **Missing Required Field** - + 1. **Missing Dependencies**: In this case, the error occurs because a Kubernetes [Custom Resource Definition](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) (CRD) should have been deployed first before attempting to deploy this component. @@ -160,7 +160,7 @@ Some examples of dry run errors are: To resolve this, ensure that all necessary dependencies, such as CRDs, are deployed before deploying the components that rely on them. - +

Environment Selection

@@ -176,25 +176,25 @@ You can add an environment through the deployment modal by following these steps 1. Click on **Add Environments** - + 1. Select **Create** and put in a name for the environment, _e.g.Development_, and **Save**. - + 1. After creating the environment you add connections to the environment, here we want to add a Kubernetes cluster. Click on the **arrows** icon to open the Development Resources modal. - + **Available Connections** on the left side shows a list of Kubernetes clusters that are currently managed by Meshery. - + @@ -207,7 +207,7 @@ You can add an environment through the deployment modal by following these steps During the deployment, if a connection has not yet been added to your environment, it will appear as shown below. - + In this scenario, to add a new environment. @@ -225,7 +225,7 @@ Another way to add a connection to an Environment is by selecting an environment 1. Identify the desired connection. Under the **Environment** section, click the dropdown menu to add and select the environment you want to associate with your connection. - +

Verifying Kubernetes Connections

@@ -234,7 +234,7 @@ The Kubernetes connection icon at the top right corner of the screen shows the l Clicking on the icon will invoke an ad hoc connectivity test between your Meshery Server and the specific Kubernetes cluster. Should this check fail, verify the health of your Meshery Operator deployment within that cluster. - +

Environment Error

@@ -242,7 +242,7 @@ Clicking on the icon will invoke an ad hoc connectivity test between your Mesher If your environment is not properly set up before deployment, you may encounter the error below. - + To handle this error follow the suitable steps for adding a connection to your environment as previously discussed. @@ -278,7 +278,7 @@ You have the option of using the live cluster provided by Meshery Playground or 1. Click **Finish**. - +

Deployment Errors

@@ -286,13 +286,13 @@ You have the option of using the live cluster provided by Meshery Playground or 1. **Missing Namespace**: This error occurs when you attempt to create a Kubernetes resource without specifying a namespace. Kubernetes requires that all resources have an associated namespace. - + 1. **Empty Label Selector**: This error indicates an empty label selector. - +

Troubleshooting Errors

@@ -306,7 +306,7 @@ For the comprehensive list of error codes refer to [Error Code Reference](https: If you encounter persistent issues, consider consulting the [Meshery Community forum](https://discuss.layer5.io/c/meshery/5). - +

Using the Notification Center for Troubleshooting

@@ -322,11 +322,11 @@ The Notification Center in Meshery helps manage events during the deployment pro 1. Keeps a log of past notifications, allowing you to track and review previous errors and their resolutions. - + - + By actively monitoring the Notification Center, you can promptly address issues as they arise, ensuring a smoother deployment process. Learn more about [Managing Events with the Notification Center](https://docs.meshery.io/guides/events-management). @@ -339,7 +339,7 @@ To undeploy the resources 1. Click on the **Undeploy** icon. - + diff --git a/src/components/Learn-Components/Chapters-Style/chapters.style.js b/src/components/Learn-Components/Chapters-Style/chapters.style.js index b625a20e907d6..1b6d53437a9af 100644 --- a/src/components/Learn-Components/Chapters-Style/chapters.style.js +++ b/src/components/Learn-Components/Chapters-Style/chapters.style.js @@ -27,4 +27,16 @@ export const ChapterStyle = styled.div` max-width: none !important; } } + + /* New reusable class for chapter images */ + .chapter-image { + max-width: 500px; + width: 100%; + height: auto; + display: block; + + @media (max-width: 768px) { + max-width: 100%; + } + } `;