Repository navigation
add Precision Time Protocol support - #4
Conversation
oglok
left a comment
There was a problem hiding this comment.
Overall, it looks very good to me and very aligned to the prototype we've already done. Good job!
| #### PTP4L configuration file | ||
|
|
||
| Default ptp4l configuration file (ptp4l.conf) will be used when starting ptp4l | ||
| service, user doesn't need to specify ptp4l.conf in `ptp4lOpts`. The content |
There was a problem hiding this comment.
As I understand, the daemonset will use the default configuration from ptp4l.conf and the user can overwrite some of the options via ptp4lOpts. It would be worth to mention where this options will be stored (like a configMap or in /etc/sysconfig/ptp4l).
There was a problem hiding this comment.
Correct!
updated the doc to add:
- ptp4l.conf is installed in ptp daemon image by default under
/etc/ptp4l.conf -f ptp4l.confwill be automatically appended toptp4lOptsby PTP daemon- some of
ptp4l.confconfigs can be overwritten by specifying certain options inptp4lOpts.
| In case of failure in linuxptp configuration, OpenShift nodes will be left as | ||
| no time source to sync, resulting in potential time disorder among nodes. | ||
| This can be resolved by providing PTP and NTP redundancy via timemaster service | ||
| which automatically rolls back to use default NTP time source if configured. |
There was a problem hiding this comment.
This looks like we could mitigate the risk of failure by using timemaster (which is right) but we don't support timemaster service configuration. Just to make it clear.
There was a problem hiding this comment.
updated to explicitly mention :
- timemaster service can mitigate the redundancy issue between PTP and NTP
- timemaster configuration will not be supported in initial proposal.
|
|
||
| #### Tech Preview -> GA | ||
|
|
||
| - Have an opeartor to manage PTP CRDs |
There was a problem hiding this comment.
Eagle eyes! Thanks ! fixed
| ## Infrastructure Needed [optional] | ||
|
|
||
| This requires a github repo be created under openshift org to hold PTP | ||
| DaemonSet code. The name of this repo is `ptp-daemon`. |
There was a problem hiding this comment.
As mentioned above, there will be the need of an operator managing the PTP daemonset. Then, there will be two different repos? one with the ptp-daemon and one with the ptp-operator?
There was a problem hiding this comment.
Yes, the idea is to first implement a PTP daemon in 4.3 as Tech Preview, and have an operator to manage this daemon and exposes all CRDs mentioned in proposal. Operator will need a separate repo under openshift github org (this is not strictly required, as you can see, SR-IOV Operator uses one repo to hold code for both daemon and operator).
There was a problem hiding this comment.
Yeah, that's why I mentioned it. I think the trend in OpenShift is to name the repos according to the operator, even if they contains the code of the actual application that is being "operated".
There was a problem hiding this comment.
If the long term direction is to deliver this via an operator I think we should just go ahead and create the repo as if it's an operator.
There was a problem hiding this comment.
After looking at this some more it seems like there are more examples of separate repos for operator and operands, ie: image-registry, kubernetes-apiserver. So it seems there's no norm established here so lets just go with separate repos as initially proposed.
| ## Infrastructure Needed [optional] | ||
|
|
||
| This requires a github repo be created under openshift org to hold PTP | ||
| DaemonSet code. The name of this repo is `ptp-daemon`. |
There was a problem hiding this comment.
If the long term direction is to deliver this via an operator I think we should just go ahead and create the repo as if it's an operator.
|
@sdodson thanks for the review! |
|
@zshi-redhat lets go ahead with separate repos |
@sdodson cool, thanks, will use separate repos for ptp-daemon and ptp-operator |
|
@sdodson could you approve this PR, I think we are ready to merge. |
|
/approve |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fepan, sdodson, zshi-redhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I realize this already merged a while back and likely has had some refinement but I do want to ask a few questions:
|
OLM, it's an optional operator installed via openshift marketplace
Currently, no interaction with MCO. All ptp services are configured via this Opreator. |
Perfect
Got it 👍
OK, for this please make sure to interact with the MCO team when you get to the point of designing this addition (cc'ing @runcom as an FYI as he leads that team).
Awesome 😃 |
Signed-off-by: Nir <[email protected]>
ConfigMap: make it not exclusive for ipfix (it could be helpful in th…
os: un-RAID ESP; use GRUB RAID module
OCPBUGS-1460: Update 2NO EP with relevant structure and content from OLA EP.
… gate - Rename EtcdBackup → HCPEtcdBackup throughout (resolve open question openshift#2) - Add kmsKeyARN (S3) and encryptionKeyURL (Azure) to HCPEtcdBackup spec for per-tenant artifact encryption (SSE-KMS / CMK), immutable fields populated by controller from HCP (resolve open question openshift#4) - Add HCPEtcdBackupConfig struct to ManagedEtcdSpec with KMS key fields, documenting HC → HCP → CR propagation chain - Add Feature Gate section: HCPEtcdBackup gate with controller predicate, +openshift:enable:FeatureGate=HCPEtcdBackup annotations on all new fields - Update graduation criteria with feature gate milestones Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
… gate - Rename EtcdBackup → HCPEtcdBackup throughout (resolve open question openshift#2) - Add kmsKeyARN (S3) and encryptionKeyURL (Azure) to HCPEtcdBackup spec for per-tenant artifact encryption (SSE-KMS / CMK), immutable fields populated by controller from HCP (resolve open question openshift#4) - Add HCPEtcdBackupConfig struct to ManagedEtcdSpec with KMS key fields, documenting HC → HCP → CR propagation chain - Add Feature Gate section: HCPEtcdBackup gate with controller predicate, +openshift:enable:FeatureGate=HCPEtcdBackup annotations on all new fields - Update graduation criteria with feature gate milestones Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
Add missing headers
Reword user story openshift#2 to align with non-goal openshift#4 (no reducing below minimums). Add operational note about OOM kills and CPU throttling when limits are configured. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
The trigger section cited hypershift-operator/controllers/sharedingress/router.go, which is the ARO-only (MANAGED_SERVICE=ARO-HCP) management-cluster-wide shared router and cannot be the Service that stays Pending on Agent/KubeVirt. The per-HC HCP router Service is hardcoded to type LoadBalancer in control-plane-operator/.../ingress/router.go (ReconcileRouterService), created via caller-side gating in .../infra/infra.go. Also soften 'created unconditionally': the type is hardcoded but its creation is gated by the callers; the precise gap is that exposure is not user-selectable. Addresses review comment openshift#4 (shared vs per-HC router) from @enxebre. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Reword user story openshift#2 to align with non-goal openshift#4 (no reducing below minimums). Add operational note about OOM kills and CPU throttling when limits are configured. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
No description provided.