Quick Start with AKS

Manage your AKS clusters with Meshery. Deploy Meshery in AKS in-cluster or outside of AKS out-of-cluster. Note: It is advisable to Install Meshery in your AKS clusters

Prerequisites

  1. Install the Meshery command line client, mesheryctl.
  2. Install kubectl on your local machine.
  3. Install Azure CLI, configured for your environment.
  4. Access to an active AKS cluster in one of your resource groups.

Also see: Install Meshery on Kubernetes

Available Deployment Methods

In-cluster Installation

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

Preflight Checks

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

Preflight: Cluster Connectivity

  1. Verify you connection to an Azure Kubernetes Services Cluster using Azure CLI.
  2. Login to Azure account using az login.
  3. After a successful login, identify the subscription associated with your AKS cluster:
az account set --subscription [SUBSCRIPTION_ID]
  1. After setting the subscription, set the cluster context.
az aks get-credentials --resource-group [RESOURCE_GROUP] --name [AKS_SERVICE_NAME]

Installation: Using mesheryctl

Use Meshery’s CLI to streamline your connection to your AKS cluster. Configure Meshery to connect to your AKS cluster by executing:

$ mesheryctl system config aks

Once configured, execute the following command to start Meshery.

$ 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

Optionally, you can verify the health of your Meshery deployment, using mesheryctl system check.

You’re ready to use Meshery! Open your browser and navigate to the Meshery UI.

After successfully deploying Meshery, you can access Meshery’s web-based user interface. Your default browser will be automatically opened and directed to Meshery UI (default location is http://localhost:9081).

You can use the following command to open Meshery UI in your default browser:

mesheryctl system dashboard

If you have installed Meshery on Kubernetes or a remote host, you can access Meshery UI by exposing it as a Kubernetes service or by port forwarding to Meshery UI.

mesheryctl system dashboard --port-forward

Depending upon how you have networking configured in Kubernetes, alternatively, you can use kubectl to port forward to Meshery UI.

kubectl port-forward svc/meshery 9081:9081 --namespace meshery
Customizing Meshery Provider Callback URL 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.

Production deployments are recommended to access Meshery UI by setting up a reverse proxy or by using a LoadBalancer.

Log into the Provider of your choice.

Recent Discussions with "meshery" Tag

Suggested Reading

  • 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 - Install Meshery on KinD. Deploy Meshery in KinD in-cluster or outside of KinD out-of-cluster.
  • Kubernetes - Install Meshery on Kubernetes. Deploy Meshery in Kubernetes in-cluster or outside of Kubernetes out-of-cluster.
  • KubeSphere - Install Meshery on KubeSphere
  • Minikube - Install Meshery on Minikube. Deploy Meshery in Minikube in-cluster or outside of Minikube out-of-cluster.