DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
What happened?
A Pod in one of my StatefulSets was unable to find its associated volume mount because the newly generated spec improperly renames the volume to data.
Error log
08:10:22 start_dev: replace pod: create deployment: Deployment.apps "scheduler-queuer-worker-devspace"
is invalid: spec.template.spec.containers[0].volumeMounts[0].name: Not found: "worker-state"
What did you expect to happen instead?
As there were no changes to the underlying charts (and this StatefulSet works in an environment created with devspace v5), I would have expected this to work out-of-the-box.
How can we reproduce the bug? (as minimally and precisely as possible)
I am running this using a profile (i.e. devspace dev -p sync-scheduler), which defines the dev block.
What happened?
A Pod in one of my StatefulSets was unable to find its associated volume mount because the newly generated spec improperly renames the volume to
data
.Error log
StatefulSet YAML
Replaced pod spec
What did you expect to happen instead?
As there were no changes to the underlying charts (and this StatefulSet works in an environment created with devspace v5), I would have expected this to work out-of-the-box.
How can we reproduce the bug? (as minimally and precisely as possible) I am running this using a profile (i.e.
devspace dev -p sync-scheduler
), which defines the dev block.My devspace.yaml:
Local Environment:
Anything else we need to know?
Nope!