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
This commit addresses the unnecessary use of the --since-time flag when fetching logs from the IPFIX collector Pod in the e2e test. The decision is based on two considerations: first, we already employ the current time for flow record filtering, obviating the need for this flag; second, potential time differences between the testbed and Kubernetes nodes or the time difference between k8s nodes could result in undesired log filtering. Additionally, a 2-second waiting time has been introduced before sending traffic to mitigate time difference issues." Besides, 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