get-nodegroup
Description
Get detailed information about a specific node group within a cluster, including its status, flavor, image, disk configuration, node count, labels, and taints.
Synopsis
Options
--cluster-id (string)
ID of the cluster that owns the node group.
- Required: Yes
--nodegroup-id (string)
ID of the node group to retrieve.
- Required: Yes
Global options
This command also accepts the global options (--profile, --region, --output, --query, --endpoint-url, --debug, …).
Examples
Get node group details:
grn vks get-nodegroup \
--cluster-id cls-abc12345-6789-def0-1234-abcdef012345 \
--nodegroup-id ng-abc12345-6789-def0-1234-abcdef012345
Get node group details as JSON:
grn vks get-nodegroup \
--cluster-id cls-abc12345-6789-def0-1234-abcdef012345 \
--nodegroup-id ng-abc12345-6789-def0-1234-abcdef012345 \
--output json
Extract the node count from the response: