URL details: zcentric.com/2015/10/26/kubernetes-api-scale-replication-controller/

URL title: kubernetes api scale replication controller
URL description: This isn’t well found in the Kubernetes docs. If you want to scale up a replication controller, you can run the following. size = 2 master_ip = '10.100.0.2' rc_name = 'blog' headers = {'Content-Type': 'application/strategic-merge-patch+json'} payload = '{"spec":{"replicas":%s}}' % size r = requests.patch("http://{ip}:8080/api/v1/namespaces/default/replicationcontrollers/{n}".format(ip=master_ip, n=rc_name), headers=headers, data=pay
URL last crawled: 2022-07-30
URL speed: 626.000 MB/s, downloaded in 0.001 seconds

open external url

1 external links to this url

Only links from external domains are shown on this page.

found date
link text
from url
2022-07-23
kubernetes api scale replication controller