Back to Meshery

KinD

docs/content/en/installation/kubernetes/kinD.md

1.0.183.3 KB
Original Source
<h1>Quick Start with KinD </h1>

Manage your KinD clusters with Meshery. Deploy Meshery in your KinD cluster.

<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>Install <a href="https://kind.sigs.k8s.io/docs/user/quick-start/#installation">KinD</a> on your local machine.</li> </ol> </div>

Also see: Install Meshery on Kubernetes

Available Deployment Methods

In-cluster Installation

Follow the steps below to install Meshery in your KinD cluster.

Preflight Checks

Read through the following considerations prior to deploying Meshery on KinD.

Preflight: Cluster Connectivity

Start KinD if it is not already started using the following command:

{{< code code="kind create cluster" >}}

Check the status of your KinD cluster:

{{< code code="kind get clusters" >}}

Verify your kubeconfig's current context.

{{< code code="kubectl config current-context" >}}

Installation: Using mesheryctl

<details> <summary>Verify your Meshery context</summary> <p> Verify that your current Meshery context is set for an in-cluster deployment (<code>platform: kubernetes</code>) by executing: </p>

{{< code code="mesheryctl system context view" >}}

<p> If the context is not set to <code>platform: kubernetes</code>, you can create a new context with Kubernetes as the platform using the following command. </p>

{{< code code="mesheryctl system context create context-name --platform kubernetes --url http://localhost:9081 --set --yes" >}}

</details>

With your KIND cluster configured as your current-context, start Meshery.

{{< code code="mesheryctl system start -p kubernetes" >}}

Alternative Installation: Using Helm

See Helm Installation guide.

Post-Installation Steps

Meshery deploys with LoadBalancer service type by default. If you are using KinD, you may need to expose the Meshery service. A universal option is to use mesheryctl system dashboard --port-forward. A KIND-specific option is to use the Cloud Provider KIND. Cloud Provider KIND runs as a standalone binary in your host and connects to your KIND cluster and provisions new LoadBalancer containers for your Services.

{{% mesheryctl/system-dashboard %}}

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 >}}

{{< related-discussions tag="meshery" >}}