Quick Start with Kubernetes 
Manage your kubernetes clusters with Meshery. Deploy Meshery in kubernetes in-cluster or outside of kubernetes out-of-cluster. Note: It is advisable to Install Meshery in your kubernetes clusters
Prerequisites
- Install the Meshery command line client, mesheryctl.
- Install kubectl on your local machine.
- Access to an active kubernetes cluster.
Available Deployment Methods
In-cluster Installation
Follow the steps below to install Meshery in your kubernetes cluster.
Preflight Checks
Read through the following considerations prior to deploying Meshery on kubernetes.
Preflight: Cluster Connectivity
Verify your kubeconfig’s current context is set the kubernetes cluster you want to deploy Meshery.
kubectl config current-context
Preflight: Plan your access to Meshery UI
- If you are using port-forwarding, please refer to the port-forwarding guide for detailed instructions.
- Customize your Meshery Provider Callback URL. Meshery Server supports customizing authentication flow callback URL, which can be configured in the following way:
$ MESHERY_SERVER_CALLBACK_URL=https://custom-host mesheryctl system start
Meshery should now be running in your Kubernetes cluster and Meshery UI should be accessible at the EXTERNAL IP
of meshery
service.
Installation: Using mesheryctl
Once configured, execute the following command to start Meshery.
Before executing the below command, go to ~/.meshery/config.yaml and ensure that current platform is set to kubernetes.
$ mesheryctl system start
If you encounter any authentication issues, you can use mesheryctl system login
. For more information, click here to learn more.
Installation: Using Helm
For detailed instructions on installing Meshery using Helm V3, please refer to the Helm Installation guide.
Post-Installation Steps
Access Meshery UI
To access Meshery’s UI, please refer to the instruction for detailed guidance.
Out-of-cluster Installation
Install Meshery on Docker (out-of-cluster) and connect it to your Kubernetes cluster.
Installation: Upload Config File in Meshery Web UI
- Run the below command to generate the “config_minikube.yaml” file for your cluster:
kubectl config view --minify --flatten > config_minikube.yaml
- Upload the generated config file by navigating to Settings > Environment > Out of Cluster Deployment in the Web UI and using the “Upload kubeconfig” option.
Suggested Reading
Recent Discussions with "meshery" Tag
- Oct 05 | Issue locating Istio from the Lifecycle menu
- Oct 26 | Contribute to Design and Documentation Projects"
- May 16 | Error in setting up the development environment
- Oct 25 | [Recap] Meshery Development Meeting 25th Oct, 2023]
- Jun 09 | Make Server Error
- Oct 18 | Error in Visualizer mode - (Uh-oh!😔 Please pardon our mesh.- plugin: not implemented)
- Oct 18 | I encountered an error on my local machine after running 'make ui'
- Oct 18 | Web GUI cannot be displayed
- Oct 18 | [Recap] Meshery Development Meeting 18th Oct, 2023
- Jul 23 | Unable to start meshery after installing it