Skip to content

Fix: Added max-width to learning path images #6413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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.

<a href={action}>
<img src={action} width="100%" align="center" />
<img src={action} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h2 class="chapter-sub-heading">Design Validation</h2>
@@ -85,15 +85,15 @@ This comprehensive validation ensures that:
1. Click on the **Validate** Icon.

<a href={performingValidation} >
<img src={performingValidation} width="100%" align="center" />
<img src={performingValidation} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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:

{" "}

<a href={successfulValidation} >
<img src={successfulValidation} width="100%" align="center" />
<img src={successfulValidation} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Handling Validation Errors</h3>
@@ -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.

<a href={validationError} >
<img src={validationError} width="100%" align="center" />
<img src={validationError} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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.

<a href={successfulDryRun} >
<img src={successfulDryRun} width="100%" align="center" />
<img src={successfulDryRun} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Examples of Dry Run Errors</h3>
@@ -142,25 +142,25 @@ 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.

<a href={drInvalidField1}>
<img src={drInvalidField1} width="100%" align="center" style="margin-bottom:20px;"/>
<img src={drInvalidField1} style="max-width: 500px; height: auto; width: 100%;" align="center" style="margin-bottom:20px;"/>
</a>

<a href={drInvalidField2}>
<img src={drInvalidField2} width="100%" align="center" />
<img src={drInvalidField2} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

1. **Missing Required Field**

<a href={missingField}>
<img src={missingField} width="100%" align="center" />
<img src={missingField} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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.

To resolve this, ensure that all necessary dependencies, such as CRDs, are deployed before deploying the components that rely on them.

<a href={missingResource}>
<img src={missingResource} width="100%" align="center" />
<img src={missingResource} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h2 class="chapter-sub-heading">Environment Selection</h2>
@@ -176,25 +176,25 @@ You can add an environment through the deployment modal by following these steps
1. Click on **Add Environments**

<a href={addEnv}>
<img src={addEnv} width="100%" align="center" />
<img src={addEnv} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

1. Select **Create** and put in a name for the environment, _e.g.Development_, and **Save**.

<a href={createEnv}>
<img src={createEnv} width="100%" align="center" />
<img src={createEnv} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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.

<a href={assignConn}>
<img src={assignConn} width="100%" align="center" />
<img src={assignConn} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

**Available Connections** on the left side shows a list of Kubernetes clusters that are currently managed by Meshery.

<a href={kubeConn}>
<img src={kubeConn} width="100%" align="center" />
<img src={kubeConn} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>


@@ -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.

<a href={missingCon}>
<img src={missingCon} width="100%" align="center" />
<img src={missingCon} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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.

<a href={envConn}>
<img src={envConn} width="100%" align="center" />
<img src={envConn} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Verifying Kubernetes Connections</h3>
@@ -234,15 +234,15 @@ 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.

<a href={connList}>
<img src={connList} width="100%" align="center" />
<img src={connList} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Environment Error</h3>

If your environment is not properly set up before deployment, you may encounter the error below.

<a href={envError}>
<img src={envError} width="100%" align="center" />
<img src={envError} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

To handle this error follow the suitable steps for adding a connection to your environment as previously discussed.
@@ -278,21 +278,21 @@ You have the option of using the live cluster provided by Meshery Playground or
1. Click **Finish**.

<a href={successDeploy}>
<img src={successDeploy} width="100%" align="center" />
<img src={successDeploy} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Deployment Errors</h3>

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.

<a href={missingNs}>
<img src={missingNs} width="100%" align="center" />
<img src={missingNs} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

1. **Empty Label Selector**: This error indicates an empty label selector.

<a href={emptyLs}>
<img src={emptyLs} width="100%" align="center" />
<img src={emptyLs} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Troubleshooting Errors</h3>
@@ -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).

<a href={errorCode}>
<img src={errorCode} width="100%" align="center" />
<img src={errorCode} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

<h3 class="chapter-sub-heading">Using the Notification Center for Troubleshooting</h3>
@@ -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.

<a href={notification}>
<img src={notification} width="100%" align="center" style="margin-bottom:30px;" />
<img src={notification} style="max-width: 500px; height: auto; width: 100%;" align="center" style="margin-bottom:30px;" />
</a>

<a href={notificationCenter}>
<img src={notificationCenter} width="100%" align="center" />
<img src={notificationCenter} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>

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.

<a href={undeploy}>
<img src={undeploy} width="100%" align="center" />
<img src={undeploy} style="max-width: 500px; height: auto; width: 100%;" align="center" />
</a>


Loading
Oops, something went wrong.