Skip to content

Commit 453d5df

Browse files
authored
updated readme for NodeLogs instructions (#2537)
1 parent 7f0847d commit 453d5df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

log-collector-script/linux/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ At a high level, you run this script on your Kubernetes node, and it will collec
1010

1111
* Run this project as the root user
1212

13+
If you are using EKS AMIs, then this script is already present on the node at `/etc/eks/log-collector-script/`, you can run following command to collect the node logs
14+
15+
```
16+
sudo bash /etc/eks/log-collector-script/eks-log-collector.sh
17+
```
18+
19+
If using custom AMI and somehow that script is not present, you can use the following to collect node logs
20+
1321
```
1422
curl -O https://amazon-eks.s3.amazonaws.com/support/log-collector-script/linux/eks-log-collector.sh
1523
sudo bash eks-log-collector.sh

0 commit comments

Comments
 (0)