Available in editions: Open/CE, BE, SE, SE+, Ultimate/EE, Core
The module lifecycle stage: General Availability
The module has 3 alerts.
The module is enabled by default in the Default bundle.
The module is disabled by default in the following bundles: Managed, Minimal.
Parameters
Schema version: 1
- objectsettings
- objectsettings.earlyTimeSync
Time synchronization on master nodes during boot, before kubelet starts.
It prevents control plane static Pods from starting with an incorrect time received from the real-time clock (RTC) or the hypervisor. Enabling and changing the settings take effect on the next boot of the node. Disabling takes effect as soon as the configuration is applied.
- booleansettings.earlyTimeSync.enabled
Enables boot-time synchronization, before kubelet starts.
Default:
true - integersettings.earlyTimeSync.timeoutSeconds
Maximum time to wait for synchronization before kubelet starts, in seconds.
On nodes managed by bashible, the wait starts once the node network is available. If within this time no NTP server responds, or the servers that respond disagree, kubelet starts with an unverified clock. On Deckhouse Engine nodes, the parameter does not apply: the wait is at most 30 seconds.
If a master node already configured for boot-time synchronization cannot reach the NTP servers, for example in an air-gapped cluster with the default
pool.ntp.org, the check waits for the full time. Set reachable servers in ntpServers or disable boot-time synchronization.Default:
30Allowed values:
30 <= X <= 60
- array of stringssettings.ntpServers
NTP servers used for time synchronization.
Each server is specified as a host name or an IPv4 address, without a port.
On master nodes, these servers are also used for boot-time synchronization, before kubelet starts. On Deckhouse Engine nodes, boot-time synchronization uses the first 16 of them. Boot-time synchronization is configured by earlyTimeSync. An empty list disables boot-time synchronization.
Default:
["pool.ntp.org"]Examples:
ntpServers: - pool.ntp.orgntpServers: - pool.ntp.org - ntp.ubuntu.com - time.google.com
An example of the configuration
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: chrony
spec:
enabled: true
settings:
ntpServers:
- pool.ntp.org
- ntp.ubuntu.com
- time.google.com
version: 1

