Getting Details About a Compute Cluster
After you create a compute cluster, you can retrieve details about the cluster.
Required IAM Policy
To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, verify with your administrator what type of access you have and which compartment to work in.
For administrators: To allow users to do all things with compute clusters in all compartments, write the following policy:
Allow group ComputeClusterUsers to manage compute-clusters in tenancy
You must also allow users to create instances in cluster networks. For a typical policy, see Let users launch compute instances.
Using the Console
-
Open the navigation menu and click Compute. Under Compute, click Compute Clusters.
-
Click the compute cluster that you're interested in.
Information about the compute cluster is displayed on the Compute cluster details page.
- (Optional) To see a list of instances that are placed on the cluster, under Resources, click Attached instances.
Using the API
Use the GetComputeCluster operation.
Using the CLI
Use the compute-cluster get command.
oci compute compute-cluster get --compute-cluster-id <compute_cluster_OCID>
For information about using the CLI, see Command Line Interface (CLI).