Replies: 1 comment
-
Thanks for opening this issue. To your two issues:
Regarding backing service needing to start: Let's say you have 10 microservices and each of the git repos for these services has a devspace.yaml, then they typically somehow reference each other via Regarding more complex docs example: Maybe you're right on that front. We should probably add some "microservice" examples with different containers interacting. Not a bad idea at all. Thanks for suggesting that! If you'd like to contribute a demo project, feel free to link it here and we can see where to add it in the getting started guide.
I hope this clarifies a few things that seemed unclear before. Let me know if you have any questions or feature requests regarding any of these. We want DevSpace to be the tool that provides the best UX and fastest dev workflow for Kubernetes, so any feature request or feedback specific to your stack or workflow is always welcome and highly appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
DevSpace is awesome, at least, it looks so :) Thanks for the excellent documentation.
But development experience doesn't look smooth, and I am not sure or I miss something, or it is still not yet implemented/polished.
Say, I have a simple app with frontend (vite spa) and backend (golang).
In Quickstart (https://devspace.sh/cli/docs/quickstart), you suggest to:
First issue:
But wait, shouldn't
devspace dev
start-up app a fully running application? Does it mean that currently, I have to in each terminal for component invoke some command?If you have the only component in your app, you will not use k8s/devspace. I propose to improve Quickstart and provide examples for at least two components.
Second issue:
Documentation for https://devspace.sh/cli/docs/configuration/development/file-synchronization doesn't mention that you cannot use actual commands to run or compile or somehow else process application code since, well, a deployed container in a dev mode doesn't have application code — it is not synchronised yet.
For production, multi-stage is used —
golang:1.16.6-buster
to build an app,gcr.io/distroless/static-debian10
to run produced binary. So, you need some helper that will wait when application code will be initially uploaded, then will compile it, and then ononUpload.execRemote.onBatch
will somehow restart running app (say, via signal).I do not request feature "please implement such helper for me". I just want to understand that I don't miss something and my understanding is correct.
Beta Was this translation helpful? Give feedback.
All reactions