projectcontour / contour-operator

Experimental repository to explore an operator for deploying Contour
Apache License 2.0
43 stars 34 forks source link

Support Operator Lifecycle Manager to Manage Contour Operator #88

Open danehans opened 4 years ago

danehans commented 4 years ago

Please describe the problem you have Add support for using Operator Lifecycle Manager to manage the operator.

xref Slack discussion: https://kubernetes.slack.com/archives/C8XRH2R4J/p1603824453388600

danehans commented 3 years ago

xref: https://github.com/projectcontour/contour-operator/issues/141 xref: https://github.com/projectcontour/contour-operator/issues/142

youngnick commented 3 years ago

I'd like to understand more about this - I would rather not tie the operator exclusively to a single management framework. How does OLM help solve migration and update problems?

danehans commented 3 years ago

@youngnick PTAL at how OLM manages community operators for additional information. A simple example that OLM supports is- user currently runs v1.11.0 and wants to upgrade to v1.14.0. OLM will walk through each upgrade step in the chain on behalf of the user and revert if any step fails. I see OLM as an example implementation for managing the operator. We can include add'l operator management examples as they arise. Thoughts?

youngnick commented 3 years ago

Ah, I see. So OLM support is just about supplying the CSVs and other metadata about versions somehow?

danehans commented 3 years ago

@youngnick yes, this repo would include the metadata about Contour Operator in order to ensure that it can be kept running safely in a cluster and to provide information about how updates should be applied as we publish new versions of the operator. This is very similar to traditional software packaging mechanisms, i.e. RPMs. Xref for example.