title: How to use a multiple kubernetes resource file through kubernetes python client similar to kubectl apply -f
body: <p>I have a kubernetes multi-resource file which contains different resources that are to be applied for e.g. deployment-definition, service-defintion, pv, pvc etc. Is there any way to use this single file through kubernetes python client to deploy all these resources <strong>at once</strong> ?
  Though my scenario is a bit different. I have a file which use CRDs alongwith custom kubernetes resource objects for e.g. <strong>Deployment + ambassador's Mapping</strong>. How to achieve this using <strong>kubernetes python client</strong>?</p>