Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove --since-time Flag in IPFIX Collector Log Retrieval
In this commit we eliminate the `--since-time` flag utilized when retrieving logs from the IPFIX collector Pod in the e2e test. We also use labels to filter records in the IPFIX collector Pod and the ClickHouse instead of using timestamp to do that. The reason is that there is a potential time discrepancy between the testbed and the Kubernetes nodes or the time discrepancy between the k8s nodes, and using this flag/timestamp might prevent us from obtaining the desired logs. For flows requiring correlation, such as inter-node traffic, if the records aren't received from both nodes, the record will remain in the queue for up to 3 cycles of aggregatorActiveFlowRecordTimeout. We've set the timeout to exporterActiveFlowExportTimeout plus aggregatorActiveFlowRecordTimeout multiplied by 3 to ensure stability in the interNode test and facilitate the timely observation of removal messages. Signed-off-by: Yun-Tang Hsu <hsuy@vmware.com>
- Loading branch information