cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Yosi_Neuman
DynaMight Guru
DynaMight Guru

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 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel
3 REPLIES 3

IzabelaRokita
Community Team
Community Team

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

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 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

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

Featured Posts