Thursday 2 January 2020

Create Azure Kubernetes service and view dashboard | Docker part 4

Where by Using Docker, We build and run containers, and store and share container images.

There by using Kubernetes we orchestrates and manages the containerized applications that Docker creates. It also provides the infra needed to deploy and run those applications on a cluster of machines. Know more about Kubernetes here on Microsoft Official.

Let's know simple steps by following which we will be create Kubernetes serves and kubernetes dashboard.
Kubernetes dashboard will run locally.

PS C:\Users\raj.kumar1> az login
You have logged in. Now let us find all the subscriptions to which you have access...
    "cloudName": "AzureCloud",
    "id": "88b268f4-b6e6-432a-84c7-64cc125a9f11",
    "isDefault": true,
    "name": "Free Trial",
    "state": "Enabled",
    "tenantId": "0fec8578-a553-4c8f-839b-a6d83f5932a3",
    "user": {
      "name": "",
      "type": "user"

PS C:\Users\raj.kumar1> kubectl create clusterrolebinding kubernetes-dashboard --clusterrole=cluster-admin --serviceaccount=kube-system:kubernetes-dashboard created

PS C:\Users\raj.kumar1> az aks get-credentials --resource-group FreeKubernetesResource --name KubApps
Merged "KubApps" as current context in C:\Users\raj.kumar1\.kube\config

PS C:\Users\raj.kumar1> az aks browse --resource-group FreeKubernetesResource --name KubApps
Merged "KubApps" as current context in C:\Users\RAJ~1.KUM\AppData\Local\Temp\tmp3_vvoxr5
Proxy running on
Press CTRL+C to close the tunnel...