Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chaos-mesh/chaos-mesh/llms.txt
Use this file to discover all available pages before exploring further.
GCPChaos allows you to inject faults into Google Cloud Platform services, including stopping instances, resetting instances, and detaching disks.
API Version and Kind
Metadata
Standard Kubernetes object metadata.Name of the GCPChaos resource.
Namespace of the GCPChaos resource. Defaults to
default.Spec Fields
Defines the behavior of the GCP chaos experiment.
GCPChaosSpec
Specific GCP chaos action to perform.Enum values:
node-stop- Stop a Compute Engine instancenode-reset- Reset a Compute Engine instance (one-shot)disk-loss- Detach a disk from a Compute Engine instance
node-stopDuration of the chaos action.A duration string with format like
"300ms", "1.5h", or "2h45m".Valid time units: ns, us (µs), ms, s, m, hName of Kubernetes secret containing GCP credentials.The secret should contain service account JSON key.
ID of the GCP project.Part of
GCPSelector (inline).Zone of the GCP project.Part of
GCPSelector (inline).Name of the Compute Engine instance.Part of
GCPSelector (inline).Device names of disks to detach. Required when action is
disk-loss.Part of GCPSelector (inline).Name of the remote cluster where the chaos will be deployed. If not specified, chaos is applied to the local cluster.
Status Fields
Current status of the chaos experiment.
GCPChaosStatus
Current global conditions. See ChaosStatus in Common Types.
Last known experiment state including desired phase and container records.
Attached disk info strings. Needed when action is
disk-loss.