# Chaos Mesh v2.8.9

2026-11-28 · [Original release notes](https://github.com/chaos-mesh/chaos-mesh/releases/tag/v2.8.9) · [Full summary](https://ratatosk.io/en/releases/chaos-mesh/v2.8.9)

Security 2 · Breaking changes 9 · Important fixes 19 · Enhancements 3 · Other changes 22

## Check before upgrading

### Prerequisites

- **v2.8.9 CRDs required before Helm upgrade**: The CRDs are applied server-side. If field ownership conflicts occur, the apply can be rerun with `--force-conflicts` after schema changes are reviewed; the Helm upgrade then uses `--version 2.8.9` and deployment values.
  > - **CRDs.** When upgrading from v2.8.8, apply the v2.8.9 CRDs before running `helm upgrade`. Helm can own `.spec.versions` on the Schedule, StressChaos, WorkflowNode, and Workflow CRDs. A server-side apply may report a field ownership conflict with `helm`.
  >   ```sh
  >   kubectl apply --server-side -f https://mirrors.chaos-mesh.org/v2.8.9/crd.yaml
  >   If you encounter that conflict, rerun the apply after reviewing the schema changes.
  >   ```sh
  >   kubectl apply --server-side --force-conflicts -f https://mirrors.chaos-mesh.org/v2.8.9/crd.yaml
  >   Continue with the [Helm upgrade](https://chaos-mesh.org/docs/production-installation-using-helm/#upgrade-chaos-mesh) using `--version 2.8.9` and your deployment values.

  - Kubernetes and Helm installation prerequisites: Installation requires a Kubernetes cluster running a supported version and Helm installed in the environment.
  - Installation commands vary by container runtime: The commands differ because each container runtime's daemon listens on a different socket path.
  - Controller manager replica count set to one: Setting `controllerManager.replicaCount=1` reduces the controller manager to one replica.
  - Helm installation namespace and permissions: Helm `--namespace` sets the installation namespace, which can differ from the experiment namespace. Even in namespace-scoped mode, chart installation requires permission to create cluster-scoped resources, including CRDs and ClusterRoles.
  - Chaos DNS Server namespace requirement: The chart grants the DNS server permissions in the namespace set by `dnsServer.targetNamespace`, so it needs to match the experiments' namespace.
  - One `chaos-controller-manager` replica when leader election is off: The example status output shows one controller-manager pod, with the daemon, dashboard, and DNS server pods also Running.
  - Guide to upgrading to a specific Chaos Mesh version
  - Parameters for non-Docker installations
  - Helm upgrades may leave the latest CRD unapplied: The outdated CRD might cause errors. The note provides a command for applying the latest CRD manually from the `v2.8.9` URL using `kubectl apply --server-side -f -`.
  - Dashboard safe mode enabled by default: Safe mode allows dashboard authentication to be disabled and is intended only for non-production deployments. Setting `dashboard.securityMode` to `false` during installation or upgrade disables safe mode.
  - Chaos Dashboard data loss after reboot without persistent storage: After a reboot, the Dashboard's data is lost. Enabling PV or using MySQL or PostgreSQL avoids the data loss.
- **v2.8.9 CRDs required before Helm upgrade**: A `.spec.versions` ownership conflict with `helm` can require schema review before retrying with `--force-conflicts`.
  > - **CRDs.** When upgrading from v2.8.8, apply the v2.8.9 CRDs before running `helm upgrade`. Helm can own `.spec.versions` on the Schedule, StressChaos, WorkflowNode, and Workflow CRDs. A server-side apply may report a field ownership conflict with `helm`.
  >   ```sh
  >   kubectl apply --server-side -f https://mirrors.chaos-mesh.org/v2.8.9/crd.yaml
  >   ```
  >   If you encounter that conflict, rerun the apply after reviewing the schema changes.
  >   ```sh
  >   kubectl apply --server-side --force-conflicts -f https://mirrors.chaos-mesh.org/v2.8.9/crd.yaml
  >   ```
  >   Continue with the [Helm upgrade](https://chaos-mesh.org/docs/production-installation-using-helm/#upgrade-chaos-mesh) using `--version 2.8.9` and your deployment values.

## Security (2)

### [Security status unclear] Dashboard archived-UID lookup fix

- Affects: Dashboard experiment, Schedule, and Workflow records with an archived UID and a newer same-named resource

When a Dashboard request uses an archived UID and a newer experiment, Schedule, or Workflow has the same name, it could reach that replacement. The live-UID check keeps the resources separate; update and delete requests using an archived Workflow UID return HTTP 404 without changing the replacement.

> - Keep archived Dashboard experiments, Workflows, and Schedules separate from newer resources with the same name, and handle stale serial nodes when rendering Workflow topology. [#5264](https://github.com/chaos-mesh/chaos-mesh/pull/5264)

### Full chart values removed from Helm install and upgrade errors

- Affects: Helm release installs or upgrades (Inferred)

Previously, errors during these operations included the full values supplied for the chart. They now identify the release, chart, and namespace instead.

> - Remove temporary remote Helm chart archives after loading and omit full chart values from release errors. [#5264](https://github.com/chaos-mesh/chaos-mesh/pull/5264)

## Breaking changes (9)

### `AWSChaos`, `AzureChaos`, and `GCPChaos` target ID errors reported before record creation

- Affects: `AWSChaos`, `AzureChaos`, and `GCPChaos` selectors; Go code calling `Id()` on those selector types
- Action required: Go callers using `Id()` on `AWSSelector`, `AzureSelector`, or `GCPSelector` updated to read the ID from the target returned by `Select()`.

When JSON encoding a target ID failed, the selectors previously discarded the error, allowing a record with an empty ID that the cloud action could not decode. The records controller now reports the encoding error before creating a record.

Evidence: “Encode the target ID in `Select()` and return encoding errors through the existing selection error path. The records controller reports the failure before creating a record. Successful selections use the existing JSON format for `Record.Id`.” https://github.com/chaos-mesh/chaos-mesh/pull/4964

> - Report target ID encoding errors before creating records for AWSChaos, AzureChaos, and GCPChaos. Go callers that used `Id()` on a cloud selector now call it on the target returned by `Select()`. [#4964](https://github.com/chaos-mesh/chaos-mesh/pull/4964)

### StressChaos memory-size validation tightened

- Affects: StressChaos specifications with a memory stressor

Previously, a size such as `100 MB` or a missing or zero size could pass API validation; the latter could leave no memory to allocate. Active memory stressors now reject empty or zero effective sizes, whitespace in sizes, fractional percentages, and percentages above 100%; percentages must be whole numbers from 1% to 100%, and the `OOMScoreAdj` description now clarifies its relationship to the OOM killer without changing its behavior.

Evidence: “Configurations with whitespace in the memory size, a fractional percentage or a value above 100% in `options --size`, or no positive effective size are now rejected.” https://github.com/chaos-mesh/chaos-mesh/pull/5251

> - Require a positive, space-free memory size in StressChaos and accept only whole-number percentages up to 100%. Clarify the memory stressor options and OOM behavior. [#5251](https://github.com/chaos-mesh/chaos-mesh/pull/5251)

### Default image registry changes to cr.chaos-mesh.dev

- Affects: Helm deployments and build or dev image pulls using the default registry
- Action required: `images.registry=ghcr.io` for affected clusters; `IMAGE_REGISTRY=ghcr.io` for build and dev environment images

Helm installs using the default now pull from `cr.chaos-mesh.dev` instead of `ghcr.io`; clusters that can reach `ghcr.io` but not `cr.chaos-mesh.dev` may fail to pull images. The default pull source also changes for build and dev environment images.

> - Pull Helm chart images from `cr.chaos-mesh.dev` by default; set `images.registry=ghcr.io` to keep pulling from GitHub Container Registry [#5226](https://github.com/chaos-mesh/chaos-mesh/pull/5226)
> - **Image registry.** The chart now pulls images from `cr.chaos-mesh.dev` by default. If you need to keep pulling directly from GitHub Container Registry, set `images.registry=ghcr.io`. [#5226](https://github.com/chaos-mesh/chaos-mesh/pull/5226)

### Chaos Dashboard switches SQLite to a pure Go driver

- Affects: Dashboard SQLite DSNs using the previous driver's private options
- Action required: Custom SQLite PRAGMA settings use the new driver's `_pragma` DSN parameter; DSNs relying on the previous driver's private options are not backward compatible.

The release-2.8 Dashboard required CGO for SQLite; this release can build without it. The PR reports that a v2.8.8 database kept its records and remained readable and writable by the previous CGO Dashboard after startup.

Evidence: “Switch the SQLite driver to `glebarez/sqlite` and disable CGO for the Dashboard build targets. Keep the existing SQLite database path and single-connection limit. Custom SQLite PRAGMA settings use the new driver's `_pragma` DSN parameter.” https://github.com/chaos-mesh/chaos-mesh/pull/5225

> - Build Chaos Dashboard with a pure Go SQLite driver so it can run without CGO [#5225](https://github.com/chaos-mesh/chaos-mesh/pull/5225)

### Failed `StatusChecks` can abort `Workflows` without annotations

- Affects: Workflows using `StatusChecks`

> - Preserve existing parallel and conditional Workflow branches on retry and wait for stale children to finish deleting. Scope cleanup and StatusChecks to the owning namespace, surface StatusCheck creation errors, and allow failed checks to abort Workflows without existing annotations. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### HTTPChaos holds proxy-pipe locks through response-body reads

- Affects: HTTPChaos requests using shared proxy pipes (Inferred)

Previously, two requests could overlap on the same pipes. When concurrent requests share them, the competing request now receives HTTP 423 Locked.

> - Hold the HTTPChaos proxy pipe lock until the full response has been read. [#5263](https://github.com/chaos-mesh/chaos-mesh/pull/5263)

### Malformed address ranges in Linux process mappings now return errors

- Affects: Linux process mappings (Inferred)

> - Preserve paths with spaces in Linux process mappings and return an error for malformed address ranges. [#5263](https://github.com/chaos-mesh/chaos-mesh/pull/5263)

### BlockChaos requests now require a delay specification

- Affects: BlockChaos requests

When a request omits its delay specification, the daemon returns an error before accessing the device.

> - Reject BlockChaos requests with a missing delay specification before accessing the device. [#5263](https://github.com/chaos-mesh/chaos-mesh/pull/5263)

### Traffic-control installation now aborts on interface flush errors

- Affects: Chaos Daemon traffic-control rule installation on network interfaces (Inferred)

A flush error is returned before new traffic-control rules are installed. Invalid `ifname` data is returned as an error.

> - Abort traffic-control rule installation when cleanup fails on any network interface, and report invalid interface data as an error. [#5259](https://github.com/chaos-mesh/chaos-mesh/pull/5259)

## Important fixes (19)

### Dashboard event pagination and multi-value filtering added

- Affects: the Dashboard Events table and clients of the Dashboard Events API

Historical SQLite events with different UTC offsets could produce incorrect filter and sort results; timestamps are now compared by instant. The Dashboard Events table uses `GET /api/events/page` for paginated responses with optional totals, while `GET /api/events` still returns an array; repeated `namespace`, `name`, `kind`, and `object_id` filters are supported, and `created_at` is deprecated and ignored in favor of `start` and `end`.

> - Add multi-value event filters, time sorting, and a `GET /events/page` endpoint for Dashboard Events pagination [#5224](https://github.com/chaos-mesh/chaos-mesh/pull/5224)

### `AzureChaos` and `BlockChaos` settings retained in Workflow Schedule templates

- Affects: setups generating Workflow Schedule templates with `AzureChaos` or `BlockChaos` settings

> - Preserve existing Schedule runs after failed writes and return errors for missing experiment specs. Retain AzureChaos and BlockChaos settings in Workflow Schedule templates and retry failed Schedule creation. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### Stale serial child handling fixed in Dashboard Workflow topology

- Affects: Dashboard Workflows with serial topology (Inferred)

When stale child references are present, the rendered topology could be incorrect. In the tested case, it now associates the live child with its template and retains the remaining template entry instead of entries for stale children.

> - Keep archived Dashboard experiments, Workflows, and Schedules separate from newer resources with the same name, and handle stale serial nodes when rendering Workflow topology. [#5264](https://github.com/chaos-mesh/chaos-mesh/pull/5264)

### Schedule active-job listing errors now propagate

- Affects: Schedule reconciliation (Inferred)

Previously, a list failure was logged and returned as a nil list with no error; the release note says this failure path could panic.

> - Keep Schedule job reconciliation within the Schedule's namespace and report list failures without panicking. [#5259](https://github.com/chaos-mesh/chaos-mesh/pull/5259)

### NetworkChaos partition retries no longer duplicate rules

- Affects: NetworkChaos partition actions

On retries for Pods that match only the target selector, those Pods are no longer treated as already initialized through the source selector.

> - Prevent NetworkChaos partition retries from duplicating rules on Pods that match only the target selector. [#5259](https://github.com/chaos-mesh/chaos-mesh/pull/5259)

### [Silent failure] StressChaos recovery retries failed stressor cancellation

- Affects: StressChaos experiments that use `CancelStressors` for recovery

Previously, a failed cancellation left the record in `Injected` and discarded the error, so stressors could keep running after the experiment stopped. The controller now retries recovery with the saved stressor instance; when cancellation succeeds, it clears that instance and sets the record to `Not Injected`.

> - Retry StressChaos recovery when Chaos Daemon fails to cancel a stressor. [#5258](https://github.com/chaos-mesh/chaos-mesh/pull/5258)

### HTTPChaos external connectivity recovery fixed

- Affects: setups using HTTPChaos where external HTTP requests reach the target Pod, including through the Pod IP or a Service

External HTTP requests to the target Pod could keep timing out after HTTPChaos reported recovery. After HTTPChaos stops, connectivity can recover for requests through the Pod IP or a Service, including after a manual stop or experiment expiration.

> - Upgrade chaos-tproxy to [v0.6.0](https://github.com/chaos-mesh/chaos-tproxy/releases/tag/v0.6.0) to fix delayed recovery of external HTTP requests after HTTPChaos stops. [#5242](https://github.com/chaos-mesh/chaos-mesh/pull/5242)

### Schedule runs preserved after failed writes

- Affects: setups using Schedule runs (Inferred)

A failed write during Schedule reconciliation could trigger a duplicate run, repeating work a Workflow branch had already started or copying recovery status into a replacement resource. On retry, the existing run is preserved instead of being duplicated.

> - Preserve existing Schedule runs after failed writes and return errors for missing experiment specs. Retain AzureChaos and BlockChaos settings in Workflow Schedule templates and retry failed Schedule creation. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### Experiment records stay attached to their original Kubernetes UID

- Affects: setups that persist experiment records during concurrent Kubernetes resource writes

A failed write could trigger duplicate `Schedule` runs, repeat work already started by a `Workflow` branch, or copy recovery status into a replacement resource. On conflicts, unrelated state is preserved.

> - Keep experiment records attached to their original Kubernetes UID during concurrent writes and honor a zero or lowered record-event limit. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### Experiment records honor zero or lowered event limits

- Affects: experiment records with a zero or lowered record-event limit

> - Keep experiment records attached to their original Kubernetes UID during concurrent writes and honor a zero or lowered record-event limit. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### Chaos recovery phase preserved

- Affects: NetworkChaos partition, HTTPChaos, IOChaos, and DNSChaos

For NetworkChaos partition, HTTPChaos, or IOChaos, the recovery phase is preserved when the target ID is invalid; for DNSChaos, it is preserved when DNS Pods cannot be listed.

> - Preserve the recovery phase when NetworkChaos partition, HTTPChaos, or IOChaos encounters an invalid target ID or when DNSChaos cannot list DNS Pods. Finish HTTPChaos recovery for stopped Pods without child configuration. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### HTTPChaos recovery now finishes for stopped Pods without child configuration

- Affects: HTTPChaos experiments involving stopped Pods without child configuration

> - Preserve the recovery phase when NetworkChaos partition, HTTPChaos, or IOChaos encounters an invalid target ID or when DNSChaos cannot list DNS Pods. Finish HTTPChaos recovery for stopped Pods without child configuration. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### JVMChaos remains uninjected when rule generation fails

- Affects: setups using JVMChaos

> - Report a missing Azure credentials Secret name and handle VMs without attached data disks. Reject malformed GCPChaos recovery records before issuing requests and keep JVMChaos uninjected when rule generation fails. [#5265](https://github.com/chaos-mesh/chaos-mesh/pull/5265)

### Dashboard pause and resume patch conflicts fixed

- Affects: Dashboard pause and resume requests for experiments and Schedules

If a controller updated the same object between Dashboard’s read and patch, the request could return HTTP 500. Dashboard now retries the annotation patch with the current object and resource version, re-reading the object and checking its UID on each attempt.

> - Fix intermittent Dashboard errors when pausing or resuming experiments and schedules during concurrent Kubernetes updates. [#5272](https://github.com/chaos-mesh/chaos-mesh/pull/5272)

### Paths with spaces preserved in Linux process mappings

- Affects: Linux process mappings with paths containing spaces (Inferred)

> - Preserve paths with spaces in Linux process mappings and return an error for malformed address ranges. [#5263](https://github.com/chaos-mesh/chaos-mesh/pull/5263)

### Partially started `StressChaos` stressors cleaned up

- Affects: `StressChaos` injections

When an injection error followed a partially started stressor, a daemon failure could leave it running; it is now stopped before the error is returned.

> - Clean up partially started StressChaos stressors before returning an injection error. [#5263](https://github.com/chaos-mesh/chaos-mesh/pull/5263)

### Helm chart download errors include the repository HTTP status

- Affects: Chaos Mesh Helm chart downloads from the Helm chart repository (Inferred)

> - Return an error when the Helm chart repository responds with a non-success HTTP status. [#5259](https://github.com/chaos-mesh/chaos-mesh/pull/5259)

### Cron controller handles missing `Schedule` resources and retries read failures

- Affects: `Schedule` resources handled by the cron controller

A reconciliation queued after a `Schedule` was deleted logged `NotFound` as an error; other read failures were treated as success, so a temporary failure at a scheduled wake-up could leave the `Schedule` stalled until another event queued it. Now, missing `Schedule`s finish without an error log, while other read failures are retried with exponential backoff so the `Schedule` can recover when the API becomes available again.

> - Retry failed Schedule reads and ignore missing Schedules in the cron controller [#5243](https://github.com/chaos-mesh/chaos-mesh/pull/5243)

### Chaos Daemon memory ramp handling fixed

- Affects: StressChaos memory ramps using the Chaos Daemon image (Inferred)

Positive memory-ramp durations shorter than one millisecond could cause a divide-by-zero panic. Initial memory workers, previously started one second apart, now start concurrently so they can ramp up memory together.

> - Upgrade memStress to [v0.4.0](https://github.com/chaos-mesh/memStress/releases/tag/v0.4.0) to fix sub-millisecond memory ramps and start the initial StressChaos memory workers concurrently. [#5249](https://github.com/chaos-mesh/chaos-mesh/pull/5249)

## Enhancements (3)

- PodChaos `container-kill` support for init containers (To use: The init container must be explicitly named and have `restartPolicy: Always`.)
- Helm chart support for Dashboard Gateway API routes (To use: Enable `dashboard.httpRoute.enabled`; the `gateway.networking.k8s.io/v1` CRDs and an existing Gateway referenced by `parentRefs` are also required.)
- `MemoryStressor` gains optional ramp-up time

## Other changes (22)

- Helm chart limits random `rollme` annotations to Helm-generated certificates
- Chaos Dashboard database layer upgraded to GORM v2
- Explicit `SYS_PTRACE` declaration removed from the privileged Chaos Daemon
- Dashboard token generator controls repositioned
- Failed Schedule creation is retried
- `Schedule` validation now returns errors for missing experiment specs
- Workflow branch progress preserved across retries
- Workflow retry cleanup waits for stale children to finish deleting
- Workflow cleanup and StatusCheck reconciliation scoped to the owning namespace
- `StatusCheck` creation errors surfaced
- `AzureChaos` reports missing Azure credentials Secret names
- Handling for VMs without attached data disks
- Malformed GCPChaos recovery records rejected before requests
- Dashboard forced deletion retries after resource conflicts
- Downloaded remote Helm chart archives removed after loading
- TimeChaos recovery made safe to retry
- Pod owner reference metadata fixed for PodIOChaos
- Workflow validation catches missing experiment specifications
- Workflow task Pod lookup scoped to its namespace
- JVMChaos cleans up temporary Byteman rule files
- Schedule job reconciliation scoped to its namespace
- Helm chart image registry defaults to cr.chaos-mesh.dev

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
