Example output

PLATFORM: Collect AWS EKS log and OS log files for troubleshooting AWS EKS Infra issues

AuthorFullName__c
Jayanth Suresh
articleNumber
000006031
ft:sourceType
Salesforce
FirstPublishedDate
2024-02-08T10:36:59Z
lastModifiedDate
2024-02-08
VersionNumber
1
The script can be used in normal or enable_debug (Caution: enable_debug will prompt to confirm if we can restart Docker daemon which would kill running containers).
$ sudo bash eks-log-collector.sh --help
USAGE: eks-log-collector --help [ --ignore_introspection=true|false --ignore_metrics=true|false ]

OPTIONS:

   --ignore_introspection To ignore introspection of IPAMD; Pass this flag if DISABLE_INTROSPECTION is enabled on CNI

   --ignore_metrics Variable To ignore prometheus metrics collection; Pass this flag if DISABLE_METRICS enabled on CNI

   --help  Show this help message.