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
kamel scale integration to zero not possible #1094
Comments
I think we support scaling via
|
Yes, it's possible to scale the integration either with:
Or:
For some reasons (concurrency control IIRC), |
I tried the first command above and then the kamel k operator sees the "change" and then start another pod with the integration. eg the operator dont know it was scaled down on purpose. |
There is a bug with a recent change done in the GC trait that comes into the way of rescaling. I'm working on a PR right now that should fix the issue. |
If you just want to scale a integration to zero (eg to stop it) then the operator will start it afterwards, so you can only delete it
kubectl scale deployment --replicas=0 polyglot
And then the operator creates a new polyglot integration, when k8s has scaled it down
Maybe we need a command on kamel so you can stop an integration, either via scale
The text was updated successfully, but these errors were encountered: