# Dynatrace on Kubernetes or OpenShift cluster with existing activeGate

**URL:** <https://community.dynatrace.com/t/dynatrace-on-kubernetes-or-openshift-cluster-with-existing-activegate/35430>\
**Category:** Container platforms\
**Tags:** openshift, kubernetes\
**Created:** [June 9, 2022, 1:25pm UTC](https://community.dynatrace.com/t/dynatrace-on-kubernetes-or-openshift-cluster-with-existing-activegate/35430 "2022-06-09T13:25:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [June 9, 2022, 1:25pm UTC](https://community.dynatrace.com/t/dynatrace-on-kubernetes-or-openshift-cluster-with-existing-activegate/35430/1 "2022-06-09T13:25:42Z")

</div>

Hello,

For a customer we are installing Dynatrace on a OC cluster. We already have activeGate’s inplace so we modified the operator yaml to point to the API end-point on an existing activeGate and removed the “create activegates on OC cluster” lines. After this everything works… Except the connection from the AG to the OC cluster.

SO basically if you do not use activeGates in Pods on the OC cluster, the connection to the OC cluster has to be defined manually and is not done by the Operator?

KR Henk

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [June 9, 2022, 3:59pm UTC](https://community.dynatrace.com/t/dynatrace-on-kubernetes-or-openshift-cluster-with-existing-activegate/35430/2 "2022-06-09T15:59:54Z")

</div>

Yes, the automatic k8s API Integration only works if you use the ActiceGates deployed by the Operator.

If you use an “external” AG you have to set the integration up via GUI or API.
