-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should skaffold debug
be configurable per artifact?
#2184
Comments
I think it makes sense. Perhaps the command line can be extended to allow specifying the specific artifacts to be debugged. |
we could also mark the artifacts in the |
If artifacts:
- image: gcr.io/foo/bar
debug:
enabled: true
runtimeType: go See #2203 for details about |
Right now an artifact can be ignored by adding an annotation to the resource's metadata like the following:
|
Usecase: running a react serving front-end within Kubernetes https://nirajsonawane.github.io/2020/04/25/Deploy-React-Spring-Boot-MongoDB-Fullstack-application-on-Kubernetes/ The react serving container runs NPM but is not debuggable. |
Did not work for me on Skaffold |
Maybe this is not a real concern. But if somebody has many microservices and wants to debug exactly one, there is currently no way to tell Skaffold that all the other containers should run conventionally.
My concern is that debug requires more resources and makes applications slower. If I already know which part I want to debug, I don't like all other microservices being run in debug mode as well. WDYT?
CC @briandealwis
The text was updated successfully, but these errors were encountered: