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
- AKS - Manage your AKS clusters with Meshery. Deploy Meshery in AKS in-cluster or out-of-cluster.
- Codespaces - Build and contribute to Meshery using GitHub Codespaces
- EKS - Install Meshery on Elastic Kubernetes Service. Deploy Meshery in EKS in-cluster or outside of EKS out-of-cluster.
- GKE - Install Meshery on Google Kubernetes Engine. Deploy Meshery in GKE in-cluster or outside of GKE out-of-cluster.
- Helm - Install Meshery on Kubernetes using Helm. Deploy Meshery in Kubernetes in-cluster.
- kinD
- KubeSphere - Install Meshery on KubeSphere
- Minikube - Install Meshery on Minikube. Deploy Meshery in Minikube in-cluster or outside of Minikube out-of-cluster.
Recent Discussions with "meshery" Tag
- Jan 25 | Meshery Build and Release Meeting | Jan 25th, 2024
- Jan 24 | Meshery Development Meeting | Jan 24th, 2024
- Dec 14 | Meshery v0.8.0 Roadmap
- Jan 18 | Unable to import designs - docker compose
- Jan 17 | Meshery Development Meeting | Jan. 17th, 2024
- Jan 16 | How to deploy a sample app in Meshery playground
- Jan 13 | How to earn badge on Meshery?
- Jan 12 | Need a help of meshmate
- Jan 11 | Meshery Build and Release | Jan 11th, 2024
- Jan 12 | Connect Meshery to Locally Running Meshery Remote Provider