Set up a Network Time Service on Oracle Linux 7
This sets up a Network Time Service on Oracle Linux 7 hosts using chronyd
to synchronize time on the hosts to use in the deployment.
-
On each Kubernetes control plane and worker node, install the
chrony
package, if it is not already installed:sudo yum install chrony
-
Edit the NTP configuration in
/etc/chrony.conf
. Your requirements may vary. If you are using DHCP to configure the networking for each node, it is possible to configure NTP servers automatically. If you have not got a locally configured NTP service that your systems can sync to, and your systems have Internet access, you can configure them to use the publicpool.ntp.org
service. See https://www.ntppool.org/. -
Make sure NTP is enabled to restart at boot and that it is started before you proceed with the Oracle Cloud Native Environment installation. For example:
sudo systemctl enable --now chronyd.service