amazon-eks-ami
amazon-eks-ami copied to clipboard
Update eks-log-collector.sh
- Added fallback for
ss
from netstat[1]. - Added fallback for
ip addr show
from ifconfig[1]. - Added
nstat
to track network stats such as Reverse Path filters.
[1] ifconfig, netstat being deprecated: https://www.redhat.com/sysadmin/deprecated-linux-command-replacements
Issue #, if available:
Description of changes:
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
- Succcesfully ran on an EKS node created from AWS RHEL Repo
- Tested the individual commands that are changed on both AL2 and AL2023
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.