ansible-for-kubernetes icon indicating copy to clipboard operation
ansible-for-kubernetes copied to clipboard

[section_request] Drupal + MariaDB Ansible-based operators working in tandem

Open geerlingguy opened this issue 5 years ago • 3 comments
trafficstars

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.

geerlingguy avatar Jan 08 '20 21:01 geerlingguy

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.

geerlingguy avatar Jan 08 '20 21:01 geerlingguy

Related: #33

geerlingguy avatar Mar 11 '20 04:03 geerlingguy

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.

geerlingguy avatar Sep 01 '20 16:09 geerlingguy