Anyone knows any way, or controller, plugin, anything.. without knowing upfront the number of replicas of a deployment, to scale the deployment to plus one or more replicas. Like
kubectl scale --replicas=+1 deployment/mysql
Currently, as far as I know, we need to first query the object for the current number of replicas and then we can run the command. But what if between the query and the execution of the command someone already scaled up 10 replicas and the we sort of overwrite the replicas number. I know, we could use the "current-replicas", but anyway; Anyone knows another way?
Thx!