sensu-plugins / sensu-plugins-kubernetes

Sensu plugins for Kubernetes
http://sensu-plugins.io
MIT License
28 stars 36 forks source link

EKS #75

Open empyrean987 opened 5 years ago

empyrean987 commented 5 years ago

Has anyone got this to work with Amazon EKS? I'm trying to get it to work but having issues authenticating with my kube config. Any assistance would be appreciated.

empyrean987 commented 5 years ago

So I would add this to your read me file on how to set up these plugins with AWS EKS. Here is an example...

/opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-kube-pods-running.rb --api-server https://***********.us-east-1.eks.amazonaws.com --token `aws-iam-authenticator token -i ****_eks_cluster | jq -r .status.token`

AllPodsAreRunning OK: All pods are reporting as ready

Please close this once you guys have read this. I hope this helps people monitoring aws eks....