I was just thinking, I don't have a dedicated chapter to testing Kubernetes infrastructure configurations, but that's one thing that's actually easier to do with Molecule + Ansible than (IMO) with most other solutions, especially in CI. I already have things working in GitHub Actions and Travis CI, so I could do a chapter that introduces:
- Using Kind to create a lightweight Kubernetes environment locally or in CI.
- Using Molecule to test Ansible playbooks and roles.
- Using Molecule to create a Kind cluster and test k8s resources on it with Ansible (similar to how I use it for this book's playbooks in some cases, and for tower-operator and other K8s projects).
- Using Molecule in GitHub Actions (and/or Travis CI) to run tests using CI for your project.
I was just thinking, I don't have a dedicated chapter to testing Kubernetes infrastructure configurations, but that's one thing that's actually easier to do with Molecule + Ansible than (IMO) with most other solutions, especially in CI. I already have things working in GitHub Actions and Travis CI, so I could do a chapter that introduces: