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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to