Open
Description
This client supports multiple patch types (JSON patch, SMP, apply patch). See source code.
Our existing example isn't clear about what patch type is being used and what are the alternatives.
We should have a document explains the different patch types, and have examples showing how to use them. Upstream Kubernetes also has related documents like this one.
This documentation could be helpful for issues like
- Can't delete items from finalizer list with patch_node #2307
- patch_namespaced_config_map with dict can't get desire result #2305
The doc can be submitted to https://github.com/kubernetes-client/python/tree/master/devel and/or https://github.com/kubernetes-client/python/tree/master/doc