Use monaco in a K8s operator #211
Replies: 6 comments
-
@markuslackner would you like to participate? |
Beta Was this translation helpful? Give feedback.
-
Gitops engine could be the base: https://github.com/argoproj/gitops-engine |
Beta Was this translation helpful? Give feedback.
-
I looked a little bit into the code of this project. Some thougths: I think its a little bit difficult to reuse this code for an operator. It uses a file/directory based input structure and generates the calls for the rest apis. In a operator you have to provide this files based on the request (create/update/delete) and call monaco. Would it not be easier to call the APIs directly (without monaco)? Ideally we could extract an api client (like https://github.com/xanzy/go-gitlab for gitlab) and the api client is used in monaco and an operator. What about starting a new project based on https://github.com/operator-framework? @Dynatrace What do you think about this? |
Beta Was this translation helpful? Give feedback.
-
@jkleinlercher I don't think the gitops engine is needed. The operator gets called by kubernetes and can then take the appropriate actions. |
Beta Was this translation helpful? Give feedback.
-
Hey, @jkleinlercher and @markuslackner. Thank you for this issue. You are right, However, one of the design goals of Recently, @merlindorin showed us the dynatrace operator he was working on for renault-digital, but I'm not aware of the status there. Fyi @kristofre |
Beta Was this translation helpful? Give feedback.
-
hi everyone, the operator was a proof of concept... I'm waiting for some go struct in order to import them and generate kubernetes controllers. A Dynatrace client with a types switch will be able to handle the inconsistencies. @jkleinlercher I can take 30min to share the code if you want to have a look. It's more a quick poc with a hope of some effort of the dynatrace api description in go (I really don't want to maintain that myself) rather a production grade controller. |
Beta Was this translation helpful? Give feedback.
-
Since developers describe their application infrastructure in K8s resources, it would be great if they could describe their dynatrace configuration also in K8s resources. Then you can use the very same pipeline and tooling for the monitoring configuration as for the k8s infrastructure.
Describe the solution you'd like
Application developers describe their monitoring configuration in K8s objects (special Dynatrace CRDs).
A K8s operator uses the monaco tool to implement the reconciliation loop.
Beta Was this translation helpful? Give feedback.
All reactions