I would love to see a quick scale feature, where you can scale a deployment without having to edit the deployment. Like kubectl scale --replicas x service-name.
Just a couple features like this, and k9s could replace kubectl for me.
@alairock What if there's an HPA? (or any other type of autoscaler)
The deployment would be re-scaled accordingly shortly after.
@TwinProduction For those who have autoscaler, that seems like that correct behavior and I would either not use it or acknowledge that consequence. For those who don't have it, being able to scale without editing the deployment or using kubectl would be nice.
We use HPAs and I'd take this as intended behaviour. It's often useful to force a cycle of containers, for example if you want your deployment to use a new image version now rather than wait for them to cycle.
Hey guys, I just submitted a PR to add a scale action for deployments, stateful sets and replication controllers.
I wasn't quite sure how to test it properly, given the existing tests.
Any help would be much appreciated!
@alairock @TwinProduction @burythehammer. Fixed 0.8.0! Thank you @nathanpiper!!
Most helpful comment
Hey guys, I just submitted a PR to add a scale action for deployments, stateful sets and replication controllers.
I wasn't quite sure how to test it properly, given the existing tests.
Any help would be much appreciated!