Quick Start Guide

Getting Meshery up and running locally on a Docker-enabled system or in Kubernetes is easy. Meshery deploys as a set of Docker containers, which can be deployed to either a Docker host or Kubernetes cluster.

1. Download, install, and run Meshery

If you are on a macOS or Linux system, you can download, install, and run both mesheryctl and Meshery Server by executing the following command.

  
curl -L https://meshery.io/install | PLATFORM=kubernetes bash -

2. Access Meshery

Your default browser will be opened and directed to Meshery’s web-based user interface typically found at http://localhost:9081.

3. Select a Provider

Select from the list of Providers in order to log in to Meshery. Authenticate with your chosen Provider.

4. Configure Connections to your Kubernetes Clusters

Out-of-Cluster Deployments If you have deployed Meshery out-of-cluster, Meshery Server will automatically attempt to connect to any available Kubernetes clusters found in your kubeconfig (under $HOME/.kube/config) and in kubeconfigs uploaded through Meshery UI. By default, MeshSync runs embedded inside Meshery Server and nothing is installed into your cluster. Only when a connection uses operator mode does Meshery Server deploy Meshery Operator, MeshSync, and Broker into the meshery namespace. To switch a connection between the two, see MeshSync deployment modes.

In-Cluster Deployments If you have deployed Meshery in-cluster, Meshery Server will automatically connect to the Kubernetes API Server available in the control plane.

Visit Settings:

If your config has not been autodetected, you can manually upload your kubeconfig file (or any number of kubeconfig files). Meshery will attempt to connect to each reachable context contained in the imported kubeconfig files, using the default embedded mode unless that context’s connection is set to operator mode. See Managing Kubernetes Clusters for more information.

5. Verify Deployment

Run connectivity tests and verify the health of your Meshery system. Verify Meshery’s connection to your Kubernetes clusters by clicking on the connection chip. A quick connectivity test will run and inform you of Meshery’s ability to reach and authenticate to your Kubernetes control plane(s). You will be notified of your connection status. You can also verify any other connection between Meshery and either its components (like Meshery Adapters) or other managed infrastructure by clicking on any of the connection chips. When clicked, a chip will perform an ad hoc connectivity test.

If the Meshery Operator does not reach a healthy status, its status card and the connection’s Diagnostics carry the reason - deploying the Operator needs outbound access to the Meshery chart repository, and Meshery retries resolution on each deploy, so a transient outage clears by redeploying. See Meshery Operator and MeshSync troubleshooting.

6. Design and operate Kubernetes clusters and their workloads

You may now proceed to manage any cloud native infrastructure supported by Meshery. See all integrations for a complete list of supported infrastructure.

Explore Tutorials

πŸ§‘β€πŸ”¬ Explore these tutorials to learn how to use Meshery for collaboratively managing infrastructure.

Additional Guides