Skip to content
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

Include a new Kubernetes event source #134

Closed
wants to merge 1 commit into from
Closed

Conversation

ccamacho
Copy link
Contributor

This commit includes a new events source
plugin for monitoring changes in a Kubernetes cluster. This plugin enables the usage of any API class
from the Kubernetes Python client.

Closes: #36
Closes: #37

@ccamacho
Copy link
Contributor Author

Sorry, closed by mistake.

The main challenge here is how to enable the Python Kubernetes client without limiting the methods and parameters that can be used. There are still many things that needs to be done, like unit/integration/e2e testing, but if you find the pattern interesting I could definitely give it a push.

The main use case for this is that in some cases we might not want to handle everything with operators, with EDA we enable users to own their resources using an Ansible native workflow.

@ccamacho ccamacho force-pushed the main branch 3 times, most recently from 13cad5c to 6972c6e Compare June 14, 2023 06:27
@ccamacho ccamacho marked this pull request as ready for review June 14, 2023 10:14
@the-it-jaeger
Copy link

I think there is a definite need for this. For example, I would like to have Ansible react when OCP ClusterAutoscaler adds or removes new Machines/Nodes by adding (or removing) their IP addresses to (or from) firewalls and load balancers.

This commit includes a new events source
plugin for monitoring changes in a Kubernetes cluster. This plugin enables the usage of any API class
from the Kubernetes Python client.

Closes: ansible#36
Closes: ansible#37
@Alex-Izquierdo
Copy link
Contributor

Hi @ccamacho

We want to express our sincere appreciation for your effort and contribution. After careful consideration, we have concluded that this plugin doesn't align with the scope of our official collection, and unfortunately, it will not be included. It might be a better fit for a dedicated collection of curated plugins for Kubernetes.

However, this does not diminish the value of your work. We believe your plugin can still be highly beneficial and encourage you to offer it through your own collection. You are welcome to upload it to galaxy with the "eda" tag.

As a fellow Red Hatter, we also suggest reaching out to your product management team to explore if such a collection could be supported within Red Hat as a maintained collection.

Thank you for your understanding and contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a Kubernetes Events source Add a Kubernetes resource source
3 participants