# Deploying ActiveGate to Openshift via operator

**URL:** <https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372>\
**Category:** Container platforms\
**Tags:** activegate, openshift\
**Created:** [June 3, 2022, 10:31am UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372 "2022-06-03T10:31:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gator88](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@Gator88](https://community.dynatrace.com/u/Gator88)\
**Post date:** [June 3, 2022, 10:31am UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/1 "2022-06-03T10:31:56Z")

</div>

Hello everyone,

I am a very new user of Dynatrace and would greatly appreciate your help. I am trying to deploy an active gate to Openshift via the use of the operator. I have read through the documentation but am still not 100% certain. Thank you very much for your help.

Best Regards,

Josh

---

<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 3, 2022, 10:59am UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/2 "2022-06-03T10:59:25Z")

</div>

Which version of the Operator are you using?

Only the newer [Dynatrace-Operator](https://github.com/Dynatrace/dynatrace-operator)&nbsp;can deploy active gates, not the dynatrace-oneagent-operator.

Have a look at the&nbsp;[Dynakube cr examples.](https://github.com/Dynatrace/dynatrace-operator/tree/master/config/samples)&nbsp; They contain the [part to deploy the active gate](https://github.com/Dynatrace/dynatrace-operator/blob/753aa96575bf03d32e5d8d6718a08c2979bd67cd/config/samples/classicFullStack.yaml#L117).

---

<div class="post-metadata">

**Author:** ![Gator88](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@Gator88](https://community.dynatrace.com/u/Gator88)\
**Post date:** [June 3, 2022, 12:34pm UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/3 "2022-06-03T12:34:58Z")

</div>

Thank you for your help. To clarify the one agent will be deployed into openshift with the use of the operator. But the active gate can be deployed with any method. What would you advise

is the best Method? Many thanks!

---

<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 3, 2022, 12:56pm UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/4 "2022-06-03T12:56:45Z")

</div>

Yes, you can either deploy the AG as a container via the operator, or just install one on another VM/Host.

It’s not really about better/worse, just depends on what works best for you.

The only difference between the two is that the AGs deployed by the operator currently have a limited set of functionallity:

- oneagent traffic routing
- kubernetes-monitoring (k8s API Integration)
- dynatrace-api

If you need other functionality, e.g. extensions, you need another AG outside the container anyway.

---

<div class="post-metadata">

**Author:** ![Gator88](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@Gator88](https://community.dynatrace.com/u/Gator88)\
**Post date:** [June 4, 2022, 1:23am UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/5 "2022-06-04T01:23:51Z")

</div>

Many thanks!

Just to clarify, if I were to install the active gate. Would it be as simple as to go to manage\>settings\>deployment status\>active gates\>install active gates(openshift) \> generate token\> copy command line … etc.

The documentation describes a method via statefulset but I would be using the operator in this case.

Thank you very much for taking the time to help out. Much appreciated!

---

<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 7, 2022, 7:51am UTC](https://community.dynatrace.com/t/deploying-activegate-to-openshift-via-operator/35372/6 "2022-06-07T07:51:35Z")

</div>

If you have not deployed the operator yet you can follow the path you mentioned. If the operator is already installed you don’t need to do it again.

Just make sure the&nbsp;dynakube.yaml you use has the section for the active gates mentioned above.
