Is there a way to scale replication controller via API in kubernetes.
By using kubeclt command, it may be done by running:
kubectl scale --replicas=1 --namespace=kube-system rc my_replication_controller
But how to achieve it using API?
Moving through docs, I found only "replace scale of the specified Scale" and "partially update scale of the specified Scale" among write operations. But I think this is not what I need.
--v=9
flag ofkubectl
to see which API call it uses.