About Me

My photo
I am MCSE in Data Management and Analytics with specialization in MS SQL Server and MCP in Azure. I have over 13+ years of experience in IT industry with expertise in data management, Azure Cloud, Data-Canter Migration, Infrastructure Architecture planning and Virtualization and automation. Contact me if you are looking for any sort of guidance in getting your Infrastructure provisioning automated through Terraform. I sometime write for a place to store my own experiences for future search and read by own blog but can hopefully help others along the way. Thanks.

Service of type LoadBalancer IP Address will change after AKS Upgrade(yes/no)

Question:- Somebody asked, whether the service of type loadbalancer IPAddress will change when we upgrade AKS Cluster

Ans : No. 

Demo here.. 

C:\Users\kusha>kubectl get services -n rak

NAME                         TYPE           CLUSTER-IP     EXTERNAL-IP      PORT(S)        AGE

webserver-service            LoadBalancer   10.0.217.211   20.242.248.124   80:30326/TCP   34m

webserver-service--persist   LoadBalancer   10.0.202.73    20.120.120.54    80:30085/TCP   21m


az aks show --resource-group RGP-USE-AKS-DV  --name AKS-USE-AKS-DEV  --query "kubernetesVersion" --output table

Result

--------

1.24.9

az aks upgrade --resource-group RGP-USE-AKS-DV --name AKS-USE-AKS-DEV --kubernetes-version 1.25.5

C:\Users\kusha>az aks show --resource-group RGP-USE-AKS-DV  --name AKS-USE-AKS-DEV  --query "kubernetesVersion" --output table

Result

--------

1.25.5

C:\Users\kusha>kubectl get services -n rak

NAME                         TYPE           CLUSTER-IP     EXTERNAL-IP      PORT(S)        AGE

webserver-service            LoadBalancer   10.0.217.211   20.242.248.124   80:30326/TCP   60m

webserver-service--persist   LoadBalancer   10.0.202.73    20.120.120.54    80:30085/TCP   47m


LoadBalacer IP address remains unchanged. 


No comments: