Accurate time synchronization across your infrastructure depends on proper NTP configuration. Here’s how to set it up on Windows, Linux, and Kubernetes nodes.
Windows Servers
- Open Command Prompt as Administrator: search for
cmd, right-click, and select “Run as Administrator.” - Configure the NTP server:
w32tm /config /manualpeerlist:"0.pool.ntp.org 1.pool.ntp.org" /syncfromflags:manual /reliable:YES /update
Replace0.pool.ntp.organd1.pool.ntp.orgwith your preferred NTP servers. - Restart the Windows Time service:
net stop w32time
net start w32time - Verify synchronization:
w32tm /query /status
w32tm /query /peers
Linux Servers
Using the NTP daemon (ntpd)
- Install the NTP package if it’s not already present:
RHEL/CentOS:sudo yum install ntp
Ubuntu:sudo apt update && sudo apt install ntp - Edit
/etc/ntp.confand add or modify your server lines:
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
Replace the pool addresses with your preferred NTP servers. - Start and enable the service:
RHEL/CentOS:sudo systemctl start ntpd && sudo systemctl enable ntpd
Ubuntu:sudo systemctl start ntp && sudo systemctl enable ntp - Check synchronization status:
ntpq -p
timedatectl status
Using Chrony (common on newer distributions)
Modern releases such as CentOS 8, RHEL 8, and Ubuntu 20.04+ use Chrony by default.
- Install Chrony:
RHEL/CentOS:sudo yum install chrony
Ubuntu:sudo apt install chrony - Edit
/etc/chrony/chrony.confand add your NTP servers:
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst - Restart the service:
sudo systemctl restart chronyd - Verify sources:
chronyc sources
Kubernetes Nodes
Time must be synchronized across all master and worker nodes.
- Install and configure NTP or Chrony on every node (follow the Linux instructions above). Use identical server lists on all nodes.
- Confirm synchronization on each node:
timedatectl status
Best Practices
- Pick reliable sources. Use public pools (e.g.,
pool.ntp.org) or internal servers from your ISP or datacenter. - Configure multiple servers. At least three upstream sources provide failover if one becomes unreachable.
- Open UDP port 123. Ensure your firewall allows NTP traffic.
- Monitor regularly. Check for drift, especially on virtualized hosts where time skew is common.
- Centralize in large environments. Run a dedicated NTP server that syncs to external sources and distributes time to internal clients.

Ali YAZICI is a Senior IT Infrastructure Manager with 15+ years of enterprise experience. While a recognized expert in datacenter architecture, multi-cloud environments, storage, and advanced data protection and Commvault automation , his current focus is on next-generation datacenter technologies, including NVIDIA GPU architecture, high-performance server virtualization, and implementing AI-driven tools. He shares his practical, hands-on experience and combination of his personal field notes and “Expert-Driven AI.” he use AI tools as an assistant to structure drafts, which he then heavily edit, fact-check, and infuse with my own practical experience, original screenshots , and “in-the-trenches” insights that only a human expert can provide.
If you found this content valuable, [support this ad-free work with a coffee]. Connect with him on [LinkedIn].




