What is the right way to set proxy to containerized AG?

Hi guys,

TL;DR - What is the right way to set proxy to containerized AG ?

Customer deployed dynatrace operator v12 / classic full-stack on their AKS k8s cluster.

In order to communicate with their DTMC they need to send the information thru a proxy.

Within dynkube.yaml we set the apiUrl to the proxy, AG and OA images where downloaded OK and the environment was created on the cluster, but when containerized AG tried to connect to the the DTMC its only see’s the internal endpoints and is not able to connect.

We tried to utilize the proxy entry within the dynakube.yaml and set it with http and https to point to the proxy endpoint, deployed again the dynakube.yaml but with no success.

We where not able to update the custom.properties file of the AG pod.

We saw environment variable set for the AG pod but do not know how to change them/

So the question here is: What is the right way to set proxy to containerized AG ?

Thanks in advance for you inputs

Yos

Hello @Yosi_Neuman ,
Do you still require our help with that issue, or maybe you’ve already found the solution? Let me know! :slightly_smiling_face:

Hi @IzabelaRokita

Yep we have found the solution for that :hands_in_air:

Within the dynakube.yaml file under activeGate section add the follows customProperties

customProperties:
      value: |-
        [connectivity]
        ignoreClusterRuntimeInfo = true
        [collector]
        seedServerUrl = https://my.reverse-proxy.com:443/communication

Hope that will help others

Yos

That’s amazing @Yosi_Neuman ! :party_cat: Thank you so much for sharing the solution with the Community :slightly_smiling_face:

Hi @Yosi_Neuman  what do you set the apiUrl: to with this setting?

Hi @tarjei

Should be:

<span>apiUrl: </span><u><span><a href="https://%3cenvironment-ag%3e:9999/e/%3ctenant_id%3e/api" target="_blank" rel="noopener nofollow noreferrer">https://<environment-ag>:9999/e/<tenant_id>/api</a></span></u>

HTH

Yos