You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/11/26 09:42:32 UTC

[GitHub] [camel-k] astefanutti commented on issue #1094: kamel scale integration to zero not possible

astefanutti commented on issue #1094: kamel scale integration to zero not possible
URL: https://github.com/apache/camel-k/issues/1094#issuecomment-558547813
 
 
   Yes, it's possible to scale the integration either with:
   
       $ kubectl scale it polyglot --replicas 0
   
   Or:
   
       $ kubectl patch it polyglot --type='merge' -p '{"spec":{"replicas":"0"}}'
   
   For some reasons (concurrency control IIRC), `kubectl scale` mandates to have the `.spec.replicas` already set for it to work. So you can use the latter command to set the field initially, or use `kubectl edit it polyglot` alternatively.  
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services