The *.py files in the examples/ directory need updates for various reasons. Some of them could also use better file names and more commenting within the files (alternatively, there could be a README.md that provides more information about setup and each file). Below are the files that I have tested and found issues for.
Examples without issues:
The
*.pyfiles in theexamples/directory need updates for various reasons. Some of them could also use better file names and more commenting within the files (alternatively, there could be aREADME.mdthat provides more information about setup and each file). Below are the files that I have tested and found issues for.deployment_examples.pyandcreate_deployment_from_yaml.py, I think it should be merged with one of thosenginx-deployment.yamlwhich creates pods that go to a state of crashloopbackoffprint("Active host is %s" % configuration.host)line throws the errorAttributeError: module 'kubernetes.client.configuration' has no attribute 'host'-- in progress with https://github.com/kubernetes-client/python/pull/846/filesnginx-deployment.yaml: using this withfixed by Deprecate extensions/v1beta1 deployment #888create_deployment_from_yaml.pycreates nginx pods that immediately go to a state of crashloopbackofflist_pod_for_all_namespacesmethod returns a 401 unauthorized error, probably needs RBAC?Examples without issues: