Python: How to make kubernetes scale up/down of statefulset pod?

Created on 8 Jun 2017  路  1Comment  路  Source: kubernetes-client/python

How to make kubernetes scale up/down of statefulset pod, which client-python api calls needs to be use.

Most helpful comment

found the answer using patch_namespaced_stateful_set & patch_namespaced_stateful_set_status api, need to pass body1 = {"spec":{"replicas":no.of replica}}, hence closing

>All comments

found the answer using patch_namespaced_stateful_set & patch_namespaced_stateful_set_status api, need to pass body1 = {"spec":{"replicas":no.of replica}}, hence closing

Was this page helpful?
0 / 5 - 0 ratings