pykube icon indicating copy to clipboard operation
pykube copied to clipboard

patching deployments/scale endpoint

Open haraldschilly opened this issue 4 years ago • 1 comments

I'm aware there is [deployment object].scale([int]), which modifies the main object.

It doesn't look as if it is possible to patch against the deployments/scale api endpoint, is it?

https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#patch-scale-deployment-v1-apps

haraldschilly avatar Jul 09 '20 10:07 haraldschilly

I think we could change the behavior to actually patch the "scale" subresource.

hjacobs avatar Jul 09 '20 12:07 hjacobs