# Monitoring Azure Kubernetes Service

**URL:** <https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159>\
**Category:** Container platforms\
**Tags:** activegate, azure, account-management, kubernetes\
**Created:** [June 27, 2019, 6:13pm UTC](https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159 "2019-06-27T18:13:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_kambeck](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@michael\_kambeck](https://community.dynatrace.com/u/michael_kambeck)\
**Post date:** [June 27, 2019, 6:13pm UTC](https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159/1 "2019-06-27T18:13:19Z")

</div>

I’ve installed a sample non-productive Kubernetes cluster with default settings (rbac enabled) inside of my Azure tenant and I’m trying to get Dynatrace connected to the API and monitor the cluster. I’ve followed the steps on the following url [Kubernetes API Monitoring — Dynatrace Docs](https://www.dynatrace.com/support/help/technology-support/cloud-platforms/kubernetes/installation-and-operation/further-integrations/connect-your-kubernetes-clusters-to-dynatrace/) but can’t connect to the Kubernetes Cluster. The URL is correct, I’m getting a Bearer token but the connection can’t be established. Just getting the info “Communication error”.

Beforehand I installed an ActiveGate onto an Azure vm. Does the ActiveGate need a direct connection to the Kubernetes Cluster or does the Kubernetes Cluster need a direct connection to the ActiveGate? HTTPS in and out is allowed and shouldn’t be a problem.

Does anyone had the same problem or can give me an info where I have to look?

Thank you in advance 🙂

Cheers,  
Michael

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [June 28, 2019, 11:09am UTC](https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159/2 "2019-06-28T11:09:32Z")

</div>

Did you try maybe do curl from ActiveGate host just for checking if communication is working properly?

Sebastian

---

<div class="post-metadata">

**Author:** ![michael\_kambeck](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@michael\_kambeck](https://community.dynatrace.com/u/michael_kambeck)\
**Post date:** [June 28, 2019, 11:12am UTC](https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159/3 "2019-06-28T11:12:24Z")

</div>

Hi [@sebastian k.](https://answers.dynatrace.com/users/15061/view.html)! Found out myself a few minutes ago what the problem was. The SSL certificate installed on the Kubernetes Cluster in Azure is not safe per default and i had to deactivate the host validation inside the ActiveGate. Now everything works 🙂 Thank you very much!

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [June 28, 2019, 11:18am UTC](https://community.dynatrace.com/t/monitoring-azure-kubernetes-service/21159/4 "2019-06-28T11:18:56Z")

</div>

Cool 🙂 Good to hear. I fought that this may be issue, this is why I was asking for curl result 🙂

Sebastian
