-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EKS logs collector script kube-proxy IPVS information scrape #1795
Conversation
ipvsadm --list --numeric --rate | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt | ||
ok -e "\n" | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt | ||
ipvsadm --list --numeric --stats --exact | tee -a "${COLLECT_DIR}"/networking/ipvsadm.txt | ||
ipset --list | tee -a "${COLLECT_DIR}"/networking/ipset.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, what if there have an old "${COLLECT_DIR}"/networking/ipset.txt
existed for a long running node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guessi cannot update tee to overwrite the same file ${COLLECT_DIR}"/networking/ipvsadm.txt
here
- can split out ipvsadm current config into separate files, but dont think that is necessary.
- the first tee overwrite above should suffice if there is an existing file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also there is a cleanup func in the script, that removes the entire {COLLECT_DIR} used for work, I believe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cartermckinnon @guessi do I need to replay this change on the latest base branch changes?
Issue #, if available: #1790
Description of changes:
Adding;
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.