Skip to content

Commit 3f2dd9c

Browse files
authored
Merge pull request #97 from k8snetworkplumbingwg/enhanced_log_filtering_readme
Enhanced log filtering README
2 parents 8e169fe + 6f991a8 commit 3f2dd9c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ metadata:
3434
resourceVersion: ""
3535
selfLink: ""
3636
```
37-
### Enable PTP events via fast event framework
37+
### Enable PTP events via fast event framework
3838
PTP Operator supports fast event publisher for events such as PTP state change, os clock out of sync, clock class change and port failure.
3939
Event publisher is enabled by deploying PTP operator with [cloud events framework](https://github.com/redhat-cne/cloud-event-proxy) (based on O-RAN API specifications).
4040
The events are published via HTTP or AMQP transport and available for local subscribers.
@@ -177,6 +177,28 @@ spec:
177177
match:
178178
- nodeLabel: "node-role.kubernetes.io/worker"
179179
180+
```
181+
### ptpConfig to filter 'master offset' logs and report periodic summary every 5 seconds
182+
```
183+
apiVersion: ptp.openshift.io/v1
184+
kind: PtpConfig
185+
metadata:
186+
name: suppress-logs-ptpconfig
187+
namespace: openshift-ptp
188+
spec:
189+
profile:
190+
- name: "profile1"
191+
...
192+
...
193+
......
194+
ptpSettings:
195+
logReduce: "enhanced 5s 100"
196+
recommend:
197+
- profile: "profile1"
198+
priority: 4
199+
match:
200+
- nodeLabel: "node-role.kubernetes.io/worker"
201+
180202
```
181203
### ptpConfig to configure as WPC NIC as GM
182204
```

0 commit comments

Comments
 (0)