/avatar.png

Gethin's Blog

How to setup kubernetes on Azure

Step 1. How to set AKS Cluster in Azure

This step could reference the official documents as below, https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-portal

Step 2 Open the could shell

https://cdn.jsdelivr.net/gh/Gethin1990/gsblogResources/how-to-setup-kubernetes-on-azure/Cloud%20Shell_2019-07-25_21-12-58.png)

The link as https://shell.azure.com/

And input the Command as below

az aks get-credentials --resource-group AKSGroup --name AKSCluster

Step 3 install Prometheus

How to create change nampspace :

kuebctl create ns monitoring
kubectl config set-context --current --namespace=monitoring

The install command as below,