It could be investigated if we can replace our code from the k8s.py with the following functions: https://github.com/kubernetes-client/python/blob/master/kubernetes/utils/create_from_yaml.py