docs/content/en/installation/kubernetes/_index.md
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
<div class="prereqs"><h4>Prerequisites</h4> <ol> <li>Install the Meshery command line client, <a href="/installation/mesheryctl" class="meshery-light">mesheryctl</a>.</li> <li>Install <a href="https://kubernetes.io/docs/tasks/tools/">kubectl</a> on your local machine.</li> <li>Access to an active Kubernetes cluster.</li> </ol> </div>Follow the steps below to install Meshery in your Kubernetes cluster.
Read through the following considerations prior to deploying Meshery on Kubernetes.
Verify your kubeconfig's current context is set to the Kubernetes cluster you want to deploy Meshery to.
{{< code code="kubectl config current-context" >}}
mesheryctlOnce configured, execute the following command to start Meshery.
Before executing the below command, go to ~/.meshery/config.yaml and ensure that the current platform is set to Kubernetes.
{{< code code="mesheryctl system start" >}}
For detailed instructions on installing Meshery using Helm V3, please refer to the Helm Installation guide.
Optionally, you can verify the health of your Meshery deployment using <a href='/reference/mesheryctl/system/check'>mesheryctl system check</a>.
You're ready to use Meshery! Open your browser and navigate to the Meshery UI.
{{< installation/accessing-meshery-ui >}}
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: <pre class="codeblock-pre"><div class="codeblock"> <div class="clipboardjs">kubectl config view --minify --flatten > config_minikube.yaml</div></div> </pre> - Upload the generated config file by navigating to _Settings > Environment > Out of Cluster Deployment_ in the Web UI and using the _"Upload kubeconfig"_ option. -->{{< code code="minikube addons enable ingress" >}}
{{< code code="kubectl get pods -n ingress-nginx" >}}
{{< code code="kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.15.3/cert-manager.yaml" >}}
{{< related-discussions tag="meshery" >}}