ansible / awx-operator

An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. 🤖
https://www.github.com/ansible/awx
Apache License 2.0
1.26k stars 633 forks source link

Support for Configuring Container Groups in awx-operator Spec #1976

Open jangel97 opened 1 month ago

jangel97 commented 1 month ago

Please confirm the following

Feature Summary

I would like to propose an enhancement to the awx-operator to enable configuring container groups directly within the AWX Custom Resource Definition (CRD) specification. This feature would allow AWX instances to be deployed with predefined container groups, facilitating out-of-the-box execution of jobs across multiple Kubernetes clusters.

Why This Feature Matters

Implementing this capability would offer significant benefits, especially for disaster recovery strategies:

Additional Context

Example CRD Specification

apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx
spec:
  # Other specifications...
  container_groups:
    - name: kubernetes-cluster-1
      credential: kube-cred-1
      namespace: awx-execution-jobs
    - name: kubernetes-cluster-2
      credential: kube-cred-2
      namespace: awx-execution-jobs

Team, does this make sense to you? If so, we can discuss implementation details, I would be willing to work on this with you. Thanks!

jangel97 commented 2 weeks ago

@TheRealHaoLiu @fosterseth does this feature make sense to you?