Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

castai agent not detecting spot nodes #206

Open
sumeet-zuora opened this issue Dec 24, 2022 · 1 comment
Open

castai agent not detecting spot nodes #206

sumeet-zuora opened this issue Dec 24, 2022 · 1 comment

Comments

@sumeet-zuora
Copy link

Castai agent was installed and it is not detecting a spot node, but as on-demand on EKS cluster. do we know how to make castai agent identify it as spot?

@andrejatcastai
Copy link
Contributor

Hi @sumeet-zuora
castai-agent has functionality to collect details about cluster nodes from a cloud provider and identify whether a node is Spot or On-demand. However when it is not able to access cloud API due to missing permissions then there is no way for system to identify nodes' type and as a consequence you see nodes reported as On-demand.
This problem is relevant only for Read-only clusters (Phase 1). Once cluster is fully on-boarded with Cast.AI then we are able to identify nodes' types from the central system and Cast.AI Console present correct status.
To confirm that you are facing this scenario, please check castai-agent logs, there should be an entry like that: failed to determine node lifecycle, some functionality might be limited. If you find this entry then this guide provides requires instructions how to fix it for Read-only clusters.
Please let me know if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants