Quick Start with AKS

Prerequisites
1. Install the Meshery command line client, mesheryctl .

To set up and run Meshery on AKS:

Connect Meshery to Azure Kubernetes Cluster

The following set of instructions expects you to have created a AKS cluster in your resource group Configure Meshery to connect to your AKS cluster by executing:

mesheryctl system config aks

Manual Steps

Alternatively, you may execute the following steps to manually configure Meshery to connect to your AKS cluster.

  • Install Azure CLI(az), and login to your azure account using az login.

  • After successfull login, you have to select the subscription with which your AKS is associated with

az account set --subscription
  • Get the kubeconfig from your AKS cluster
az aks get-credentials --resource-group --name
  • Set your cluster context and check your cluster-info
kubectl set-context kubectl cluster-info

Install Meshery into your AKS cluster

$ kubectl create ns meshery $ helm repo add meshery https://meshery.io/charts/ $ helm install meshery --namespace meshery meshery/meshery

Port forward to the Meshery UI

export POD_NAME=$(kubectl get pods --namespace meshery -l "app.kubernetes.io/name=meshery,app.kubernetes.io/instance=meshery" -o jsonpath="{.items[0].metadata.name}") kubectl --namespace meshery port-forward $POD_NAME 8080:8080

Meshery should now be running in your AKS cluster and the Meshery UI should be locally accessible. Navigate to http://localhost:9081 to log into Meshery.