question

Mikhail A. avatar image
Mikhail A. asked ·

Can I change INSTALL_PATH for OneAgent dir on Kubernetes or openshift

Hello

The documentation says that for oneAgent custom resourse - Parameters to be passed to the OneAgent installer. All the command line parameters of the installer are supported, with the exception of INSTALL_PATH.

Can I change INSTALL_PATH for OneAgent dir on Kubernetes or openshift?

oneagentinstallationkubernetesopenshift
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Alois M. avatar image
Alois M. answered ·

Hi, I understand the problem you need to solve (using different directory due to disk space limits) and the operator actually allows you to use a different storage location for the OneAgent.

You could use the parameter ONEAGENT_ENABLE_VOLUME_STORAGE to have the Docker container runtime manage the required volume for the OneAgent bit and bytes. The container runtime will take care of creating the volume in the default location.

The additional (optional) parameter ONEAGENT_CONTAINER_STORAGE_PATH would allow you to directly set the path to be used for the OneAgent files, eg. /path/to/oneagent-files

See: https://www.dynatrace.com/support/help/shortlink/kubernetes-deploy#install-oneagent-operator

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thank you!

0 Likes 0 · ·
Julius L. avatar image
Julius L. answered ·

No. Exactly as the docs say.

It's because the OneAgent in this cases runs in a container and the host's directory /opt/dynatrace is mapped to the container (that's container definition). If you would change the INSTALL_PATH, the installation would be just done in the container itself and OneAgent will not be able to monitor anything outside the container.

3 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

thank you for answer!

what if i rebuild the agent image?


0 Likes 0 · ·

It would be an unsupported modification. You can not do that.

What problem are you trying to solve?

0 Likes 0 · ·

in /opt customer have 2Gb

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX timestamp action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android