vapor-ware / kubetest

Kubernetes integration testing in Python via pytest
https://kubetest.readthedocs.io/en/latest/
GNU General Public License v3.0
206 stars 57 forks source link

Support for editing a deployment ? #215

Open amitSA opened 3 years ago

amitSA commented 3 years ago

Thanks for making this pytest plugin! I might have missed it, but is it possible to edit (patch) kubernetes objects ?

For example, in my project I need to change the replica count of a deployment, but I didn't see any supported methods to do this. I could "delete" and then "create" a deployment, but that seems like more of a workaround to this feature request, especially since the underlying k8s sdk supports updates via "patch_namespaced_deployment"