-
Notifications
You must be signed in to change notification settings - Fork 524
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
gradle task for k8sRemoteDev starts and finishes without any error #2075
Comments
Hi @mvtavares Could you please confirm that the error only happens when using the I think the problem has to do with the logging interceptor (OkHTTP - #2000 / #1950) Another question is why do you need to run |
Hi @manusa , thanks for the answer. Actually, it happens without the I'm not sure if i'm doing anything wrong, but i was expecting that the plugin kept the process running so i can start another application to use the port-forwards. |
The process should stay alive until sig-termed. I'm unable to reproduce with our quick starts, have you tried with any of those? I'm thinking that maybe there's some other plugin in your project that doesn't play well with JKube (given your provided logs). Could you provide a lightweight reproducer? |
Hmm got it. Sure, i'll try to do this today and i'll send the results here. Thanks @manusa |
sorry to delay so much to answer. I could make this work by removing some plugins that were affecting the behavior. Thanks again ! |
Thanks for the heads up. Is it possible to know which plugins were affecting the behavior, we might be able to find a solution and mitigate the problem when our plugin is combined with those that lead to this behavior. |
Describe the bug
Hello !
Congrats for the awesome project. I've started testing it today and i'm having a strange issue when running
gradle k8sRemoteDev --debug
, the task just starts and finishes without any apparent error.Eclipse JKube version
1.11.0
Component
Kubernetes Gradle Plugin
Apache Maven version
None
Gradle version
7.4.2
Steps to reproduce
Config used (i've changed some service names but that shouldn't matter):
Run:
./gradle k8sRemoteDev
Expected behavior
It should keep the service running in order to allow testing
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
1.22.15
Environment
macOS
Eclipse JKube Logs
Sample Reproducer Project
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: