AKS Cluster Creation

AKS Cluster Creation

Step 1 : Login to portal.azure.com Kubernetes Services -> Create a Kubernetes cluster

No alt text provided for this image

Step2 : Enter the mandatory fields

Subscription : Select the subscription

Resource Group : Create one if does not exists / select the existing one

Cluster present configuration : Standard ($$) (selected Standard from the list )

Kubernetes cluster name : srini-aks

Region : (Europe)UK South


No alt text provided for this image

Step 3: Change the size of the cluster to B2S ( Because cluster should have 4GB of memory)

No alt text provided for this image

Step 4: By default Node count range will go to 5 but demo change to 1 then click on Review and Create

No alt text provided for this image

Step 5: View all the changes then click on Create

No alt text provided for this image

Step 6: AKS Cluster will take time of 5 to 10 minutes to create

No alt text provided for this image

Step 7 : Then the newly created cluster will show in Kubernetes services and then click on the cluster : srini-aks

No alt text provided for this image

Step 8: Click on Connect

No alt text provided for this image

Steps 9: steps to connect cluster will be shown in the azure portal

No alt text provided for this image

Step10 : Open Cloud Shell or the Azure CLI and run all the commands one by one . Subscription id varies based on your subscription

Step11 : During the process of running the commands from step 10

.kube folder will be created under which user the commands ran

No alt text provided for this image

Step12 : Run Kubectl commands

12.1 Get Nodes

kubectl get nodes

NAME????????????????STATUS??ROLES??AGE??VERSION

aks-agentpool-39508002-vmss000000??Ready??agent??23m??v1.24.9

12.2 kubectl get pods

No resources found in default namespace.

12.3 Create POD

kubectl run srini-nginx --image=nginx

pod/srini-nginx created

12.4 List PODS

kubectl get pods

NAME??READY??STATUS??RESTARTS??AGE

nginx??1/1???Running??0?????8s

Step 13: Delete the AKS Cluster and it will delete the nodes then the cluster will be deleted in 5 to 10 minutes.

No alt text provided for this image

要查看或添加评论,请登录

Srinivasulu Paranduru的更多文章

  • EKS Cluster Creation

    EKS Cluster Creation

    Step1 : Create an Role required for EKS Creation To create your Amazon EKS cluster role in the IAM console Open the IAM…

    2 条评论
  • Repository Creation In Amazon ECR

    Repository Creation In Amazon ECR

    1.Steps to create Amazon ECR Repository using AWS Console: 1.

社区洞察

其他会员也浏览了