ansible-for-kubernetes
ansible-for-kubernetes copied to clipboard
[section_request] Drupal + MariaDB Ansible-based operators working in tandem
I have a Drupal Operator and a MariaDB Operator, both of which can function independently without issue. But for one example, I want to show how two operators can work together to build a more scalable system, streamlining the maintenance of each independent component (database and application), especially since most organizations may be able to use something like a database operator (MariaDB) across multiple unrelated projects if they generalize their operators.
I'm still working on some features to make this example more applicable to real-world use cases (e.g. allowing clustering in the MariaDB operator—as of this comment it's currently a single-pod-with-PV setup, which is not truly HA or HP).
But it would be good to have an example of how Ansible can deploy two operators (both built with Ansible as well!) to run a robust application in Kubernetes.
First commit above adds in some scaffolding, and a working demo. I need to work on:
- [ ] A playbook to deploy the operators and CRDs into a cluster.
- [ ] CI (using Kind most likely) to run the playbook in a working cluster.
Related: #33
This section is a little delayed because Operator SDK 1.0 was just released, and I'll need to update both my operators to the new builder layout.