Skip to content

Commit eb3e6dd

Browse files
authored
Merge pull request #110704 from openshift-cherrypick-robot/cherry-pick-108867-to-enterprise-4.22
[enterprise-4.22] TELCODOCS-2819 adding chrony links
2 parents d19615b + 61140c4 commit eb3e6dd

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

modules/installation-special-config-chrony.adoc

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ endif::[]
1919
[id="installation-special-config-chrony_{context}"]
2020
= Configuring chrony time service
2121

22+
[role="_abstract"]
2223
You
2324
ifdef::restricted[must]
2425
ifndef::restricted[can]
@@ -40,25 +41,29 @@ include::snippets/butane-version.adoc[]
4041
variant: openshift
4142
version: {product-version}.0
4243
metadata:
43-
name: 99-worker-chrony <1>
44+
name: 99-worker-chrony
4445
labels:
45-
machineconfiguration.openshift.io/role: worker <1>
46+
machineconfiguration.openshift.io/role: worker
4647
storage:
4748
files:
4849
- path: /etc/chrony.conf
49-
mode: 0644 <2>
50+
mode: 0644
5051
overwrite: true
5152
contents:
5253
inline: |
53-
pool 0.rhel.pool.ntp.org iburst <3>
54+
pool 0.rhel.pool.ntp.org iburst
5455
driftfile /var/lib/chrony/drift
5556
makestep 1.0 3
5657
rtcsync
5758
logdir /var/log/chrony
5859
----
59-
<1> On control plane nodes, substitute `master` for `worker` in both of these locations.
60-
<2> Specify an octal value mode for the `mode` field in the machine config file. After creating the file and applying the changes, the `mode` is converted to a decimal value. You can check the YAML file with the command `oc get mc <mc-name> -o yaml`.
61-
<3> Specify any valid, reachable time source, such as the one provided by your DHCP server.
60+
+
61+
--
62+
* `name: 99-worker-chrony` - Specify a name for the machine config file. On control plane nodes, substitute `master` for `worker`.
63+
* `machineconfiguration.openshift.io/role: worker` - On control plane nodes, substitute `master` for `worker`.
64+
* `mode: 0644` - Specify an octal value mode for the `mode` field in the machine config file. After creating the file and applying the changes, the `mode` is converted to a decimal value. You can check the YAML file with the command `oc get mc <mc-name> -o yaml`.
65+
* `pool 0.rhel.pool.ntp.org iburst` - Specify any valid, reachable time source, such as the one provided by your DHCP server.
66+
--
6267

6368
+
6469
[NOTE]
@@ -85,6 +90,13 @@ $ butane 99-worker-chrony.bu -o 99-worker-chrony.yaml
8590
$ oc apply -f ./99-worker-chrony.yaml
8691
----
8792

93+
For more information on chrony best practices, see the following resources:
94+
95+
* https://access.redhat.com/solutions/3073261[Configuring chrony]
96+
* https://access.redhat.com/solutions/778603[Best practices for NTP]
97+
* https://docs.redhat.com/en/documentation/red_hat_ceph_storage/8/html-single/troubleshooting_guide/basic-chrony-NTP-troubleshooting_diag#basic-chrony-NTP-troubleshooting_diag[Basic chrony NTP troubleshooting]
98+
99+
88100
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
89101
:!restricted:
90102
endif::[]

0 commit comments

Comments
 (0)