Hi,
I have a Standard SKU Load balancer managed by an AKS Cluster. At the time of cluster and consecutive LB creation, the Idle Timeout was set to default 4.
However, now I wanted to increase the Idle Timeout to 15. So, I followed the instructions given at https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-tcp-idle-timeout (both UI and Azure CLI).
The value of Idle Timeout got changed to 15 and it was reflected also as per the expectation.
However, it was again reset to default 4 by linked/managed AKS Cluster.
Then, I tried below command
az aks update \
--resource-group myResourceGroup \
--name myAKSCluster \
--load-balancer-idle-timeout 15
But it is giving me following error:-
"error": {
"code": "InvalidResource",
"message": "Data collection rule index not found: '/subscriptions/<My-Subscription-Id>/resourceGroups/<AKS Cluster Resource Group Name>/providers/Microsoft.Insights/dataCollectionRules/MSCI-WUS2-<AKS Cluster Name>'",
"details": [{
"code": "InvalidResource",
"message": "Data collection rule index not found: '/subscriptions/<My-Subscription-Id>/resourceGroups/<AKS Cluster Resource Group Name>/providers/Microsoft.Insights/dataCollectionRules/MSCI-WUS2-<AKS Cluster Name>'"
}]
}
}
I am stuck. Is there a way where I can permanently set Idle Timeout to 15 and the respective AKS Cluster don't update it to default value 4 every 24 hours?
Regards,
Anand