DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
What happened?
I'm trying to deploy a kubernetes job with devspace 6 while devspace dev is running.
devspace dev
devspace deploy -p xyz-my-job-generate
run_dependencies: couldn't execute 'devspace deploy -p xyz-my-job-generate', because there is another DevSpace session for the project (xyz) already running inside this namespace
What did you expect to happen instead?
The job inside profile xyz-my-job-generate will be deployed.
How can we reproduce the bug? (as minimally and precisely as possible)
the easiest way to generate this case
run twice devspace dev in separate consoles
In my case:
run devspace dev in one console
run devspace deploy -p xyz-my-job-generate in another console
What happened? I'm trying to deploy a kubernetes job with
devspace 6
whiledevspace dev
is running.devspace dev
devspace deploy -p xyz-my-job-generate
run_dependencies: couldn't execute 'devspace deploy -p xyz-my-job-generate', because there is another DevSpace session for the project (xyz) already running inside this namespace
What did you expect to happen instead? The job inside profile
xyz-my-job-generate
will be deployed.How can we reproduce the bug? (as minimally and precisely as possible)
devspace dev
in separate consolesdevspace dev
in one consoledevspace deploy -p xyz-my-job-generate
in another consoleMy devspace.yaml:
Local Environment:
devspace version 6.2.5
linux
AMD64
Kubernetes Cluster:minikube
Client Version: v1.24.3 Kustomize Version: v4.5.4 Server Version: v1.22.12
Anything else we need to know? It works in
devspace 5
pkg/devspace/pipeline/pipeline.go:108