artifacthub helm/chaos-mesh/chaos-mesh 2.8.9
v2.8.9

2 hours ago

This release adds Gateway API routing for the Dashboard and lets PodChaos target restartable init containers. It also improves Dashboard event filtering and fixes recovery issues in HTTPChaos and other controllers.

Upgrade notes

  • 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.

    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.

    kubectl apply --server-side --force-conflicts -f https://mirrors.chaos-mesh.org/v2.8.9/crd.yaml

    Continue with the Helm upgrade using --version 2.8.9 and your deployment values.

  • 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

Added

  • PodChaos container-kill now supports targeting init containers when container names are explicitly specified. Only init containers with restartPolicy: Always are eligible #4803
  • Add Gateway API HTTPRoute support for the Chaos Dashboard to the Helm chart #5158

Changed

  • Avoid unnecessary Pod rollouts when cert-manager manages the certificates #5246
  • Add multi-value event filters, time sorting, and a GET /events/page endpoint for Dashboard Events pagination #5224
  • Pull Helm chart images from cr.chaos-mesh.dev by default; set images.registry=ghcr.io to keep pulling from GitHub Container Registry #5226
  • Build Chaos Dashboard with a pure Go SQLite driver so it can run without CGO #5225
  • Upgrade Chaos Dashboard to GORM v2 #5214
  • Omit the redundant SYS_PTRACE declaration from the privileged Chaos Daemon security context in Helm manifests #5215

Fixed

  • Upgrade chaos-tproxy to v0.6.0 to fix delayed recovery of external HTTP requests after HTTPChaos stops. #5242
  • Keep the Copy button clear of long commands and move Close to the header in the Dashboard token generator. #5279
  • 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
  • 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
  • Keep experiment records attached to their original Kubernetes UID during concurrent writes and honor a zero or lowered record-event limit. #5265
  • 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
  • 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
  • Fix intermittent Dashboard errors when pausing or resuming experiments and schedules during concurrent Kubernetes updates. #5272
  • 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
  • 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
  • Retry forced experiment deletion after concurrent updates while preserving unrelated annotations. #5264
  • Remove temporary remote Helm chart archives after loading and omit full chart values from release errors. #5264
  • Hold the HTTPChaos proxy pipe lock until the full response has been read. #5263
  • Preserve paths with spaces in Linux process mappings and return an error for malformed address ranges. #5263
  • Make TimeChaos requests retryable across overlapping experiments and independent containers in the same pod. #5263
  • Clean up partially started StressChaos stressors before returning an injection error. #5263
  • Reject BlockChaos requests with a missing delay specification before accessing the device. #5263
  • Return an error when the Helm chart repository responds with a non-success HTTP status. #5259
  • Set the Pod owner reference on newly created PodIOChaos resources even when the Kubernetes client omits Pod type metadata. #5259
  • Return a validation error when a Workflow chaos template omits its experiment specification. #5259
  • Keep Workflow task Pod lookup within the WorkflowNode's namespace. #5259
  • Abort traffic-control rule installation when cleanup fails on any network interface, and report invalid interface data as an error. #5259
  • Remove temporary Byteman rule files after JVMChaos rule installation and removal. #5259
  • Keep Schedule job reconciliation within the Schedule's namespace and report list failures without panicking. #5259
  • Prevent NetworkChaos partition retries from duplicating rules on Pods that match only the target selector. #5259
  • Retry StressChaos recovery when Chaos Daemon fails to cancel a stressor. #5258
  • Retry failed Schedule reads and ignore missing Schedules in the cron controller #5243
  • 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
  • Add time to the StressChaos memory stressor #5247
  • Upgrade memStress to v0.4.0 to fix sub-millisecond memory ramps and start the initial StressChaos memory workers concurrently. #5249

Full Changelog: v2.8.8...v2.8.9

Don't miss a new chaos-mesh release

NewReleases is sending notifications on new releases.