Hi All,
Is there any way to query current cloud type and also node details like it’s id, instance type, region in which it is running in a custom controller?.
Thanks
Hi All,
Is there any way to query current cloud type and also node details like it’s id, instance type, region in which it is running in a custom controller?.
Thanks
The Go client / API Server can be used to pull node information. Here is a super simple / quick sample:
For non-Kubernetes native things like region, if these noted in an annotation / label, they should also be accessible. If not, I think you will have to get creative.
Hope this helps.