amazon-eks-diag is a PowerShell module to help Amazon EKS users gather diagnostic information from their Amazon EC2 Windows worker nodes. The module is executed in a local PowerShell session on each worker node. The module will gather the local diagnostic information for this node only, and compresses the information into an archive. For security, the archive is left on the local file system for the system administrator to choose an apropriate mechanism for retrieving the archive.
Usage
The module needs to be run on an EC2 Windows worker node. There are many ways of distributing the module to a node. The most straight forward is using the AWS.Tools.S3 SDK to upload the module to S3, and then download it on the node. Example:
Compress the amazon-eks-diag module directory, and write the archive to S3
amazon-eks-diag
amazon-eks-diagis a PowerShell module to help Amazon EKS users gather diagnostic information from their Amazon EC2 Windows worker nodes. The module is executed in a local PowerShell session on each worker node. The module will gather the local diagnostic information for this node only, and compresses the information into an archive. For security, the archive is left on the local file system for the system administrator to choose an apropriate mechanism for retrieving the archive.Usage
The module needs to be run on an EC2 Windows worker node. There are many ways of distributing the module to a node. The most straight forward is using the AWS.Tools.S3 SDK to upload the module to S3, and then download it on the node. Example:
amazon-eks-diagmodule directory, and write the archive to S3Diagnostic Information Gathered
Following is a categorical overview of the diagnostic information gathered by the tool in the way the data is gathered by the tool:(Excluding ipcTempFeil.log from SSM Session Manager)Help
Unit Testing
License
This project is licensed under the Apache-2.0 License.