Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for getting logs from a Kubernetes Pod #53418
I'm not entirely sure this adds any "value" over calling the REST API directly, which goes against documented Ansible development guidelines. https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_best_practices.html
There's significant complexity to authenticating to the API, doing it generically in pure Ansible would be really dirty. this module uses the same authentication methods as the other k8s modules, which can load certs, incluster configuration, kubeconfigs (which can include executing binaries for aws/gke etc). I think removing this complexity constitutes value over calling the API directly.