I am looking for the equivalent apis in python kubernetes client. Can anyone please provide any pointers.
- kubectl get all --all-namespaces --selector name=foo -o yaml --export > foo.yaml
- kubectl delete -f foo.yaml
... (Modify the yaml file)
- kubectl create -f foo.yaml. <-- For this i did find utils.create_from_yaml
I am looking for the equivalent apis in python kubernetes client. Can anyone please provide any pointers.
... (Modify the yaml file)