Skip to main content

Synopsis

Pauses a running virtual cluster to save resources.
vcluster pause VCLUSTER_NAME [flags]

Description

The pause command puts a virtual cluster into sleep mode, scaling down control plane components to save CPU and memory. This is useful for development and staging environments that don’t need to run 24/7.

Examples

# Pause a vCluster
vcluster pause my-vcluster --namespace team-x

# Pause with specific driver
vcluster pause my-vcluster -n team-x --driver helm

# Pause without preventing wake-up (Platform only)
vcluster pause my-vcluster -n team-x --prevent-wakeup=false

Flags

--namespace
string
required
The Kubernetes namespace where the vCluster is running.
--driver
string
default:"helm"
The driver to use. Options: helm, platform.
--prevent-wakeup
boolean
default:"true"
[PLATFORM] Prevent automatic wakeup.
--project
string
[PLATFORM] The project name.

How It Works

When you pause a vCluster:
  1. Control plane scales down - StatefulSet replicas set to 0
  2. Workloads remain - Synced pods continue running in host cluster
  3. State preserved - etcd/database data persists
  4. Resources freed - CPU and memory released
Paused vClusters cannot be accessed via kubectl. You must resume them first.

Complete Example

# Check current status
vcluster list

# Pause the vCluster
vcluster pause dev-vcluster -n development

# Verify it's paused
vcluster list
# Should show Status: Paused

# Later, resume it
vcluster resume dev-vcluster -n development

See Also

Build docs developers (and LLMs) love