redhat-cop / ee_utilities

This ansible collection includes a number of roles and tools which can be useful for managing Ansible Execution Environments.
https://galaxy.ansible.com/infra/ee_utilities
GNU General Public License v3.0
57 stars 34 forks source link

RFE: Enable Execution Environment Builds Using OpenShift BuildConfigs #175

Open jangel97 opened 1 day ago

jangel97 commented 1 day ago

Summary

Managing a high volume of Execution Environments (EEs) presents significant operational challenges. Our organization, responsible for maintaining approximately 200 EEs, aims to leverage OpenShift’s existing infrastructure to streamline the build and deployment process. Specifically, we propose integrating Ansible EE management with OpenShift BuildConfigs to simplify and enhance the automation pipeline.


Problem Description

  1. Current State:

    • EE builds are managed on dedicated infrastructure, requiring continuous maintenance and operational oversight.
    • Scaling this setup introduces additional cost and complexity.
  2. Challenges:

    • Infrastructure Management: Maintaining build systems for 200+ EEs is resource-intensive.
    • Inefficiency: Separate infrastructure for builds duplicates efforts, given OpenShift is already available within the organization.
    • Scalability: Current solutions struggle to meet growing demands as the number of EEs increases.

Proposed Enhancement

Leverage OpenShift’s BuildConfig feature to manage and build Execution Environments.

Key Features:


Why BuildConfigs?


Benefits

  1. Operational Efficiency:

    • Reduces overhead by eliminating the need for separate build infrastructure.
    • Simplifies EE updates and versioning through automated pipelines.
  2. Improved Scalability:

    • Leverages OpenShift’s robust platform to handle increasing build demands.
    • Ensures reliable and consistent EE builds across environments.
  3. Cost Savings:

    • Reduces infrastructure costs by consolidating build processes within OpenShift.

Conclusion

This enhancement would align EE management with our existing OpenShift infrastructure, reducing complexity and operational costs while improving scalability and security. It supports our organizational goals of streamlining automation and maximizing resource efficiency.

Would this be feasible to implement as part of the existing ee_utilities collection?

djdanielsson commented 1 day ago

No I do not think what we have currently would fit what you are looking for from my understanding. Now maybe there is a possibility that another role or additions to the current one might work but I would have to look more into the request because I am not that familiar with OCP.

jangel97 commented 16 hours ago

If the propose makes sense, perhaps, it does for those customers which are heavily relying on OCP/OKD, and are managing already a considerable amount of execution environments, I can land a PR for this. Either in a separate role or in this same role, whatever you think is more convenient. Thanks!