You can configure linuxptp
services and use PTP-capable hardware in {product-title} cluster nodes.
You can use the {product-title} console or OpenShift CLI (oc
) to install PTP by deploying the PTP Operator. The PTP Operator creates and manages the linuxptp
services and provides the following features:
-
Discovery of the PTP-capable devices in the cluster.
-
Management of the configuration of
linuxptp
services. -
Notification of PTP clock events that negatively affect the performance and reliability of your application with the PTP Operator
cloud-event-proxy
sidecar.
Note
|
The PTP Operator works with PTP-capable devices on clusters provisioned only on bare-metal infrastructure. |
Important
|
Before enabling PTP, ensure that NTP is disabled for the required nodes. You can disable the chrony time service ( |
The PTP Operator adds the NodePtpDevice.ptp.openshift.io
custom resource definition (CRD) to {product-title}.
When installed, the PTP Operator searches your cluster for PTP-capable network devices on each node. It creates and updates a NodePtpDevice
custom resource (CR) object for each node that provides a compatible PTP-capable network device.
-
For a complete example CR that configures
linuxptp
services as an ordinary clock with PTP fast events, see Configuring linuxptp services as ordinary clock.
-
For a complete example CR that configures
linuxptp
services as an ordinary clock with PTP fast events, see Configuring linuxptp services as ordinary clock.