Skip to content

VKS Commands

VKS (VNG Kubernetes Service) commands for managing Kubernetes clusters and node groups.

grn vks <command> [options]

Available commands

Cluster

Command Description
list-clusters List all VKS clusters
get-cluster Get cluster details
create-cluster Create a new VKS cluster
update-cluster Update a VKS cluster
delete-cluster Delete a VKS cluster

Node Group

Command Description
list-nodegroups List node groups for a cluster
get-nodegroup Get node group details
create-nodegroup Create a new node group
update-nodegroup Update a node group
update-nodegroup-metadata Update labels, tags, and taints of a node group
upgrade-nodegroup-version Upgrade the Kubernetes version of a node group
list-nodes List nodes in a node group
delete-nodegroup Delete a node group

Versions

Command Description
list-cluster-versions List available Kubernetes versions

Auto-Upgrade

Command Description
set-auto-upgrade-config Configure auto-upgrade schedule for a cluster
delete-auto-upgrade-config Delete auto-upgrade config for a cluster

Auto-Healing

Command Description
config-auto-healing Configure auto-healing for a cluster

Events

Command Description
get-cluster-events Get the list of events for a cluster
get-nodegroup-events Get the list of events for a node group

Kubeconfig

Command Description
generate-kubeconfig Request generation of a cluster kubeconfig
update-kubeconfig Fetch and merge the cluster kubeconfig into your kubeconfig file

Quota

Command Description
get-quota Get VKS quota limits and current usage

Waiter

Command Description
wait Wait until a cluster or node group reaches a desired state