Changing API URL of dynakube.yaml

Hello All, I just imagine the scenario of using Dynatrace Operator for monitoring Kubernetes environment in Dynatrace Managed.

So the flow gonna be like these:

Monitoring data form AWS EKS → Cluster ActiveGate (With public address and direct connect to managed cluster) → Dynatrace Managed Cluster

So if we setup OneAgent deployment for Kubernetes there will be dynakube.yaml generated right?

In the apiurl section usually it is automatically pointed to Managed Cluster address.

If the Amazon EKS cannot directly connect to managed cluster, should I change the apiurl address to Cluster ActiveGate public IP?

So it gonna be like apiurl: https://domain-cag.com:9999/e/<environment_id>/api

Is that possible?

Thank you in advance.

Try with :

https://<clusterActiveGate>/e/<environmentId>/api

Could someone confirm if this works?

@Arvind1503. Yes, it will definitely work with both Cluster ActiveGate or even with Environment ActiveGate. The exposed API is the same on both. Just don’t forget to add the CA certificates to trustedCAs or use skipCertCheck - so that the Operator trusts your endpoints.