Clock synchronisation of K8s pods in same namespace in EKS

8/6/2020

I have spawned multiple Kubernetes PODs within same namespace at different times. I would like to know if the clocks of the Kubernetes PODs are synchronized? I have gone through a few posts here, but could not get an idea on this.

-- Joy
amazon-eks
kubernetes

1 Answer

8/6/2020

I am not sure if I good understood your question about synchronization.

If you are asking about clock in container, it will be the same as in the host machine. It is controlled by the kernel of this machine.

I would suggest you to check Kubernetes Container Timezone Management

However, if you would ask about Timezone it is controller by OS layer thus it might be different inside the container.

In short, even if pods might be in the same namespace clock will be depend on where it was scheduled.

If this was not what you asked for, please elaborate your question.

-- PjoterS
Source: StackOverflow