The containers in my k8s cluster need to be set to the correct time with high accuracy, meaning that I can only handle 10s of milliseconds difference max.
Do I need to setup NTP configuration for the containers on Google Kubernetes Engine to make sure that that clock in the containers is set to the correct time?
You can configure the controller to use Google Public NTP.) Click the "Change settings..." button. Check the box "Synchronize with an Internet time server". Next to "Server:", enter time.google.com .
Google Public NTP is a free, global time service that you can use to synchronize to Google's atomic clocks. It implements the leap smear to smoothly handle leap seconds without disruptions.
No. You don't need to do any of your own NTP configuration. Google Kubernetes Engine (GKE) runs a timesyncd service in each of the containers. The service is pre-configured to sync up with Google's NTP servers. If you want to set the time yourself, you need to stop the timesyncd service and override the time settings manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With