09 Jun 2022 01:13 PM
Hi all.
We have the integration with an Openshift cluster reporting in one environment (PRE), but we want to change it to another environment (DEV). Both environments are in the same Managed tenant.
What would be the best way to do it?
It is necessary to do a new installation?
Or is it enough to edit the dynakube.yaml file?
Thanks in advance
BR
Jose A
Solved! Go to Solution.
09 Jun 2022 04:58 PM
You mentioned the correct approach, you can just change the relevant entries in the dynakube yaml file.
Not 100% sure if it will redeploy the OneAgent pods automatically or if you have to cycle them once.
10 Jun 2022 08:19 AM
Thank you very much for the reply pahofmann.
To confirm the steps:
1- edit yaml:
URL environment
DT operator TOKEn
2- redeploy one agent pod:
How is it done manually?
Thank you very much in advance
BR
joseA
10 Jun 2022 08:36 AM
As mentioned, not sure if the second is needed. You can just check after the update if it happens automatically and if not delete the OneAgent Pods yourself.
Now that I think about it, it will probably also require a restart of the deep monitored applications, so the code modules connect to the new environment.
10 Jun 2022 08:46 AM
@JAR Yes, you have to delete it as oneagent deployed as DeploymentSet so when you deleted it will create another OA automatically with updated new environment.
10 Jun 2022 03:06 PM
Just realised there even is a documentation page for this: https://www.dynatrace.com/support/help/shortlink/migrate-operator-k8