EKS log collector script
Jump to navigation
Jump to search
curl -O https://raw.githubusercontent.com/awslabs/amazon-eks-ami/master/log-collector-script/linux/eks-log-collector.sh sudo bash eks-log-collector.sh
curl -O https://raw.githubusercontent.com/awslabs/amazon-eks-ami/master/log-collector-script/linux/eks-ssm-content.json aws ssm create-document \ --name "EKSLogCollectorLinux" \ --document-type "Command" \ --content file://eks-ssm-content.json
aws ssm send-command \ --instance-ids <EC2 Instance ID> \ --document-name "EKSLogCollectorLinux" \ --parameters "bucketName=<S3 bucket name to push the logs>" \ --output json
aws ssm get-command-invocation \ --command-id "<SSM command ID>" \ --instance-id "<EC2 Instance ID>" \ --output text
Related
See also
- EKS troubleshooting, EKS log collector script, EKS Pod Information Collector (EPIC)
- EKS,
eksctl
, EKS add-ons, Amazon EKS cluster role, Terraform EKS, Kubernetes Autoscaler, Karpenter, Terraform module: EKS, Terraform resource: aws eks node group, Terraform data source: aws_eks_cluster, AWS Controllers for Kubernetes, AWS Load Balancer Controller, Amazon EKS Anywhere, Kustomize,aws-iam-authenticator
, ACK, tEKS, Amazon EKS authorization, Amazon EKS authentication, Nodegroup, EKS storage,aws-ebs-csi-driver, aws-efs-csi-driver, aws-load-balancer-controller, amazon-vpc-cni-k8s
, EKS security, EKS Best Practices Guides,hardeneks
, EKS versions,fargate-scheduler
,eks-connector
, Resilience in Amazon EKS, EKS control plane logging, Security groups for Pods in EKS
Advertising: