The /cluster vs /clusters api target


Badge +9
  • Trailblazer
  • 29 replies
Why is there a /cluster and and /clusters target? The singular one implies a unique target whereas the plural returns data for all clusters.

What is the difference between the two?
Does /cluster refer to the master CVM?

3 replies

Badge +4
The difference between the 2 is functional. The /cluster endpoint is used for getting/setting configuration for a specific cluster. The /clusters endpoint is more focused on providing the operational state across your environment (alerts/events)

Tarak
Badge +9
When you say there is a GET /cluster, you are implying that there is a unique cluster that is correlated to the API. What is that cluster?What is its unique position in the hierarchy of clusters?

It's clear that that same cluster is listed in the /clusters GET target.
Badge +9
Also: Under what circumstances will there be multiple clusters in a Nutanix system?
What does such a system look like in terms of shared storage, memory, cpu?

Reply