Skip to main content
Updated August 24, 2026 The raff kubernetes command group (alias: raff k8s) covers every managed Kubernetes operation in the public API. Each subcommand supports --output json for scripting.

Subcommand index


list

get

Shows status, version, endpoint, HA, node counts, and pricing for one cluster.

create

Creates follow the account’s billing mode: pay-as-you-go bills hourly; on a subscription account the CLI create charges the saved payment method for the monthly subscription automatically.

delete

Deletes the cluster and all its infrastructure — nodes, gateway, VPC, and floating IP. --force skips the confirmation prompt; --wait blocks until deletion completes.

rename

The API endpoint and DNS stay the same.

kubeconfig

Writes a self-renewing kubeconfig: the file carries no credential, and kubectl calls the Raff CLI for a fresh short-lived token before each request. It never expires, nothing long-lived is stored, and the file is useless to anyone without your API key. --ttl sets each token’s lifetime (default 1h). --static embeds a token in the file instead, for environments that cannot run the CLI. It expires (7 days by default, --ttl to change, 30 days maximum) and must be re-issued afterwards. kubeconfig rotate invalidates every kubeconfig and token issued for the cluster, immediately.

nodes

Lists every node (gateway, control plane, workers, storage) with role, status, and IP.

Node pools

Scale-down and pool deletion drain nodes first — workloads are evicted respecting PodDisruptionBudgets before a node is removed. Each pool has its own worker plan — pass any plan ID from plans to mix sizes and tiers (General Purpose / CPU-Optimized) in one cluster. Added pools can have 1–20 nodes; the cluster keeps at least 2 workers overall.

upgrade-ha

Promotes a single-master cluster to a 3-master HA control plane with a redundant gateway pair. Cannot be reversed.

upgrade

Rolling in-place upgrade: control-plane nodes one at a time, then workers drained one at a time. On a non-HA cluster the Kubernetes API is briefly interrupted — pass --confirm-single-master to accept that. Minor versions upgrade sequentially; upgrades cannot be rolled back. Progress appears in the cluster’s Activity feed; raff kubernetes get shows the version once complete.

maintenance

Only the flags you pass change; the rest keep their values.

versions

Lists the Kubernetes versions offered, with the version ID used by create --version. Creating on a version newer than the base image works — the cluster upgrades itself to it during creation.

plans

Lists worker node plans with class (General Purpose shared / CPU-Optimized cpu_optimized), vCPU, memory, and monthly price. Every worker has a 25 GiB root disk.

volumes

Lists the cluster’s PVC-provisioned persistent volumes (the raff-block StorageClass): PV name, size, status, the worker it is attached to, and the hourly price.
Last modified on August 28, 2026