Support for "addon" resources in syndesis-operator
See original GitHub issueFor integrating with external systems (e.g. Prometheus, Grafana) it would be very valuable when the Syndesis operator would install arbitrary resources stored in a directory within the operator image.
A sample workflow would look like this:
- Within the Operator image, there is a directory
/addons
which can contain any possible Kubernetes resource in YAML foramt. This can also be also custom resources like aServiceMonitor
for the Prometheus Operator. The syndesis-operator build process should be modified to pick up those file from somewhere and put it into this directory. - When the syndesis-operator is running and someone deploys a
Syndesis
resource, after the operator has installed syndesis, it checks this directory and for every resource found in this directory:- Adds an
ownerReference
to theSyndesis
resource - Adds a label/annotation indicating that it has been installed on behalf of the operator (e.g.
syndesis.io/addon-resource
) - Applies this resource to the current namespace
- Adds an
This ensures, that when the Syndesis resources are deleted, also the addon resources are deleted.
The Installation of an Operator would do the following steps;
- The new operator gets started. During startup, and when it detects an upgrade situation (e.g. a Syndesis resource is already installed) it checks for all resources with a label `syndesis.io/addon-resource’ and then for each delete the resource.
- When an existing installation needs to be updated, just install the addon resources from the new operator image after the update process has finished.
@jamesnetherton @alexkieling @lgarciaaco I hope this summarizes our discussion accurately.
@heiko-braun this feature is requested by Integreatly so that Syndesis could be monitored by an external, integreatly provided Prometheus instance. Is there a way that we can schedule this work into one of our next releases ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (6 by maintainers)
Top Results From Across the Web
Chapter 3. Changing the configuration of a Fuse Online ...
After you install Fuse Online on OpenShift Container Platform (OCP) on-site, you can change its configuration to enable/disable some features or change some ......
Read more >Installation on plain Kubernetes fails · Issue #9468 - GitHub
I get this error: error: the server doesn't have a resource type "dc" . ... requires admin privileges syndesis-operator install cluster ...
Read more >Syndesis CLI
The Syndesis application consists of a set of Docker images OpenShift resources descriptors for installing Syndesis. For development, minishift or CodeReady ...
Read more >Syndesis Infrastructure Operator - Go Packages
Syndesis Operator State Diagram. A summary of the states: NotInstalled: Syndesis resources that cannot be installed (e.g. two resources on ...
Read more >How To Fix Addons/Minesanity Not Working - YouTube
How To Fix Addons /Minesanity Not Working. 41K views 1 year ago. Spyderrock. Spyderrock. 49.2K subscribers. Join. Subscribe.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve rebased the PR on top of #4460.
@heiko-braun I’ve changed the activation behaviour so that the
--addons
option must be explicitly set for the addons to be applied.https://github.com/syndesisio/syndesis/pull/6256 Sydnesis 1.7 now changes how these addons are activated. You have to update the CR like this: