Skip to content

CLI VKS

github-actions[bot] edited this page Oct 10, 2026 · 1 revision

CLI: VKS

Reads Kubernetes cluster inventory, versions, and quota. Only hcm-3 and han-1 are supported. --project-id does not select a VKS workspace. All three commands work under --read-only. Output contains account data. See VKS for the SDK models and scope.

Every list prints {"Items": [...]}, so a --query starts with Items.

get-quota

Kind: Read.

No fields.

vngcloud vks get-quota --query Quota

list-cluster-versions

Kind: Read.

No fields.

vngcloud vks list-cluster-versions

list-clusters

Kind: Read.

Pages start at 0, with a default size of 10. Each call reads one page. Request the next page with --page 1. Use --size to set the page size.

Flag Type Required
--page int
--size int
vngcloud vks list-clusters \
  --query 'Items[].{ID:ID,Name:Name,Status:Status,Version:Version}' \
  --output table

Clone this wiki locally