Container platforms
Questions about Kubernetes, OpenShift, Docker, and more.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

multipleDynakubes docs

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I have seen multipleDynakubes.yaml but I have just not seen any documentation with examples.

Have you use this before?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl
7 REPLIES 7

Julius_Loman
DynaMight Legend
DynaMight Legend

There is nothing specific. You just simply deploy multiple DynaKube resources. Operator does take care of possible overlapping. It depends on how do you want to monitor your k8s environment. Typical scenario is when data from a single cluster has to go to multiple Dynatrace environments.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Hi,

I was thiking if for example, you want to deploy one dynakube in host monitoring mode and another dynakube in application monitoring in same Dynatrace environment.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

@AntonPineiro this combination is not supported see:
https://docs.dynatrace.com/docs/shortlink/installation-k8s-automated-app-monitoring

CloudNativeFullStack is the way here.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Hi,

Yeah, thank you again. I had just seen those comments there and in the comments or operator YAML files. Not sure if that combination was possible under new K8S experience but I guess than no, neither.

Anyway, base on your feedback, looks like multipleDynakubes.yaml can be used in some specific scenarios but no references in the documentation.

I was thinking in a combination where you have POD traces information + host infraonly, instead of fullstack.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

When working with multiple Dynakubes, the setup really depends on your specific needs. For example:
Separate ActiveGates for routing and Kubernetes monitoring, you can create different Dynakubes to isolate these responsibilities. Or for instance, you might want to deploy a cloud-native Dynakube with oneagent version X for some k8s workloads, while using another Dynakube with version Y  in application-only monitoring mode.

Infra + AppOnly = Fullstack model.

Hi,

Thank you so much @PacoPorro!

I was thinking something as more than one Dynakube. For example, cloud-native Dynakube in some "entities" and maybe application-only or hostmonitoring Dynakube for another entities. When I say entities, it means, filterting by workloads or namespace or host or tag...

But I was not able to examples of multipleDynakubes.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

https://github.com/Dynatrace/dynatrace-operator/blob/v1.7.2/assets/samples/dynakube/v1beta5/multiple...

In this example you add a label nonitor:"applicationMonitoring" to apply apponly or monitor: "cloudNativeFullStack" for cloudnative

Both dynakubes within the same yaml. But you can have different dynakubes while the name is different.

Featured Posts