Microsoft Azure Kubernetes | There is no way to change the time zone of an AKS Cluster from UTC to another time zone


Currently, as of 2024/03, the Kubernetes time zone is UTC in the Azure Kubernetes Service (AKS) cluster.


Unable to change AKS cluster timezone from UTC to other timezone

In an AKS cluster, the kube-controller-manager that specifies the time zone is managed as part of the control plane, so the time zone is UTC, and it is not possible to change from UTC to another time zone. I can't.

This is a current functional limitation of Azure.

Cronjob schedule settings cannot be set in a time zone other than UTC

In Kubernetes, it is possible to specify the time zone in the Cronjob YAML file, as described in the public information at the URL below.

However, even if you specify a time zone other than UTC in the Cronjob YAML file, the setting cannot be reflected in the time zone of kube-controller-manager, and as a result, Cronjob operates in the UTC time zone. 


Kubernetes Cronjob

https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones


*In an AKS Cluster, the control plane is a managed resource, so the Cronjob schedule cannot be set to a time zone other than UTC.





スポンサーリンク

0 件のコメント :

コメントを投稿