medik8s / node-maintenance-operator

Kubernetes Operator to manage node maintenance through NodeMaintenance custom resources
https://www.medik8s.io/maintenance-node/
Apache License 2.0
24 stars 13 forks source link

Consider making installation steps more user-friendly: deprecate OLM dependency #131

Open Dentrax opened 2 weeks ago

Dentrax commented 2 weeks ago

I was trying to install the node-maintenance-operator on the Kubernetes cluster and noticed that this project has a dependency on OLM. And you need to run a command like operator-sdk run bundle <BUNDLE> to deploy it. (which is not a common way to install an app for the Kubernetes-related apps). I had to install operator-sdk first time, I've never needed it before.

I was wondering if you just provide much simpler way to install it like:

Couldn't you just build a container image that just works without depending OLM?

Please note that, I don't not have domain-knowledge so couldn't know technical-limitations that may block us to move forward without OLM. I'm just a fresh end-user who has initially tried to install this app as a first time. So this is just a feedback.

clobrano commented 2 weeks ago

Hi @Dentrax, thank you for reaching out!

At the moment there is no plan to get rid of OLM, as it is quite helpful in creating the needed resources, permissions, etc.

However, we're having a discussion about the configuration for Helm. We'd love for you to join and share your thoughts!

slintes commented 2 weeks ago

Hi,

thanks for reaching out. For deploying NMO as user you don't need operator-sdk. You need to install OLM though. Just follow the simple steps explained when you click on "Install" here: https://operatorhub.io/operator/node-maintenance-operator

There is interest in a Helm chart by others as well, you might want to follow this discussion in our mailing list: https://groups.google.com/g/medik8s/c/_X5YVLQanLU/m/rbVRUwgGAwAJ

Kustomization is already used, operator-sdk makes use of it. See the /config dir. It's just not configured to not use OLM. A krew plugin isn't on our roadmap, but that's an interesting idea, we are open to contributions :)

BR, Marc

Dentrax commented 2 weeks ago

Thank you all for such a prompt answers. Really appreciate it. I think I don't have permission to view that discussion but I'll keep an eye on this issue. Thanks.

clobrano commented 2 weeks ago

Feel free to request to join the discussion

slintes commented 2 weeks ago

I think I don't have permission to view that discussion

Thanks for the hint, we just made the discussions visible for everyone. For posting you still need to join the group though.