Skip to content

Commit f491361

Browse files
mattcampclaude
andcommitted
chore: release v0.3.4 — use Recreate deployment strategy for RWO PVC
Default deploymentStrategy to Recreate to prevent Multi-Attach errors when rolling out new pods against a ReadWriteOnce PVC. RollingUpdate starts the new pod before the old one is terminated, causing both to compete for the volume. Recreate ensures the old pod is gone first. Configurable via deploymentStrategy in values.yaml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e4e06e0 commit f491361

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.4] - 2026-03-18
11+
12+
### Fixed
13+
14+
- Helm chart now defaults to `Recreate` deployment strategy instead of
15+
`RollingUpdate`. With a `ReadWriteOnce` PVC mounted, rolling updates cause
16+
a `Multi-Attach` error because the new pod starts before the old one releases
17+
the volume. `Recreate` terminates the old pod first. Configurable via
18+
`deploymentStrategy` in values.
19+
1020
## [0.3.3] - 2026-03-17
1121

1222
### Fixed

charts/osmia/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: osmia
33
description: A Kubernetes-native AI coding agent harness
44
type: application
5-
version: 0.3.3
6-
appVersion: "0.3.3"
5+
version: 0.3.4
6+
appVersion: "0.3.4"
77
home: https://github.com/unitaryai/osmia
88
sources:
99
- https://github.com/unitaryai/osmia

charts/osmia/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ metadata:
66
{{- include "osmia.labels" . | nindent 4 }}
77
spec:
88
replicas: {{ .Values.replicaCount }}
9+
strategy:
10+
type: {{ .Values.deploymentStrategy }}
911
selector:
1012
matchLabels:
1113
{{- include "osmia.selectorLabels" . | nindent 6 }}

charts/osmia/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
replicaCount: 1
44

5+
# Use Recreate when a ReadWriteOnce PVC is mounted — RollingUpdate causes
6+
# Multi-Attach errors since the new pod starts before the old one releases
7+
# the volume. Switch to RollingUpdate only if persistence is disabled.
8+
deploymentStrategy: Recreate
9+
510
image:
611
repository: ghcr.io/unitaryai/osmia/controller
712
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)