Why am I getting a "Could not open an input stream to cluster" when configuring EKS?
search cancel

Why am I getting a "Could not open an input stream to cluster" when configuring EKS?

book

Article ID: 284462

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

 

When configuring collection of EKS data, you may see an error like this one:

Could not open an input stream to cluster API: Server returned HTTP response code: 
403 for URL: https://kubernetes.default.svc/api/v1/nodes

The first step to resolve this issue it to check the namespaces.  Be sure to double check the default namespace, and ensure the appropriate account is being used.

If everything is correct, try to uninstall using these commands:

kubectl delete -f kubernetes-collector.yaml
kubectl delete secret cloudhealth-config

Then, try reinstalling using the deployment instructions.