-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[section_request] Testing Kubernetes with Molecule, Kind, and Ansible #36
Comments
The Molecule setup in the official Ansible Kubernetes Collection is also a pretty good / thorough example: https://github.com/ansible-collections/kubernetes/blob/master/.github/workflows/ci.yml#L64-L95 (the book example would be a bit more lightweight than that, though—that molecule playbook is testing a heck of a lot that we probably wouldn't need to test). |
Did some initial work on this tonight. My plan is to build a playbook which deploys some sort of application into Kubernetes (something simple for now, since the point is to show how Molecule + Kind work together, mainly) and have it work with maybe both Kind and also either a regular cluster (with delegated driver and managed: false), or a Minikube cluster (similar to the Kind configuration?). |
Issue #36: Add an example testing with Molecule and Kind.
Still working on the prose in chapter 7... |
Issue #36: Add GitHub Actions workflow for testing-molecule-kind.
Lots of commits here! I'm just about finished with this chapter. It's been a fun one :) |
First draft complete, I'm doing a once-over review and closing this issue. Hopefully will be posting a new version of the book in the next week! |
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:
The text was updated successfully, but these errors were encountered: