<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deploy OneAgent on OpenShift for application-only monitoring in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120314#M679</link>
    <description>&lt;P&gt;thanks but where can i find the yaml script .&lt;/P&gt;&lt;P&gt;you find below the screenshot for the application deployed on openshift online with the different service.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/21111-1561641593628.png" /&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;refka&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Jun 2019 13:20:25 GMT</pubDate>
    <dc:creator>refka_hachani</dc:creator>
    <dc:date>2019-06-27T13:20:25Z</dc:date>
    <item>
      <title>Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120310#M675</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to follow these instructions from &lt;A class="editor-rtfLink" href="https://www.dynatrace.com/support/help/technology-support/cloud-platforms/openshift/installation-and-operation/application-only/deploy-oneagent-on-openshift-for-application-only-monitoring/" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/support/help/technology-support/cloud-platforms/openshift/installation-and-operation/application-only/deploy-oneagent-on-openshift-for-application-only-monitoring/&lt;/A&gt; to deploy a OneAgent to monitor a Spring Boot application deployed under OpenShift Online 3.&lt;/P&gt;
&lt;P&gt;First, I created a Docker file and inserted these instructions into it, replacing the environment ID, the token, the one agent option, and the command with the right variables.&lt;/P&gt;
&lt;P&gt;ARG DT_API_URL="https://&amp;lt;environmentID&amp;gt;.live.dynatrace.com/api" ARG DT_API_TOKEN="&amp;lt;token&amp;gt;" ARG DT_ONEAGENT_OPTIONS="flavor=default&amp;amp;include=&amp;lt;technology1&amp;gt;&amp;amp;include=&amp;lt;technology2&amp;gt;" ENV DT_HOME="/opt/dynatrace/oneagent" RUN mkdir -p "$DT_HOME" &amp;amp;&amp;amp; \ wget -O "$DT_HOME/oneagent.zip" "$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_API_TOKEN&amp;amp;$DT_ONEAGENT_OPTIONS" &amp;amp;&amp;amp; \ unzip -d "$DT_HOME" "$DT_HOME/oneagent.zip" &amp;amp;&amp;amp; \ rm "$DT_HOME/oneagent.zip" ENTRYPOINT [ "/opt/dynatrace/oneagent/dynatrace-agent64.sh" ] CMD [ "executable", "param1", "param2" ] # the command of your application, e.g. java&lt;/P&gt;
&lt;P&gt;After that, I built the application image by executing the next command&lt;/P&gt;
&lt;P&gt;oc new-build --binary --strategy=docker --allow-missing-images yourapp&lt;/P&gt;
&lt;P&gt;However, it seems that isn't working for me, as I'm getting the following error :&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;[root@CHBSLADT01TST LambdaAir]# oc new-build --binary --strategy=docker --allow-missing-images &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;zuuloo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;W0627 05:53:42.764249 1035 newapp.go:317] I&lt;/SPAN&gt; &lt;SPAN data-preserver-spaces="true"&gt;Could not find an image stream match for "zuuloo." Make sure that a Docker image with that tag is available on the node for the build to succeed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;* &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;A Docker build using binary input will be created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;* The resulting image will be pushed to the image stream "&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;zuuloo&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;: &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;latest&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;* &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;A binary build was created&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;; use 'start-build --from-dir' to trigger a new build&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;--&amp;gt; Creating resources with label build=zuuloo &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;imagestream&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt; "&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;zuuloo&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;" created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;error: &lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;buildconfigs&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt; "&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;zuuloo&lt;/SPAN&gt;&lt;SPAN data-preserver-spaces="true"&gt;" is forbidden: build strategy Docker is not allowed&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;--&amp;gt; Failed&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;Has anyone experienced similar issues, and if you solved them, how did you do it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&lt;A class="editor-rtfLink" href="https://answers.dynatrace.com/users/12707/view.html" target="_blank" rel="noopener"&gt;@Zbyszek C&lt;/A&gt;, @Daniela R. , I think that you are exposed to this issue. Could you help me, please?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Refka&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 09:21:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120310#M675</guid>
      <dc:creator>refka_hachani</dc:creator>
      <dc:date>2025-05-29T09:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120311#M676</link>
      <description>&lt;P&gt;Why didn't you add agent in runtime like here?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/technology-support/cloud-platforms/openshift/installation-and-operation/application-only/deploy-oneagent-on-openshift-for-application-only-monitoring/"&gt;https://www.dynatrace.com/support/help/technology-support/cloud-platforms/openshift/installation-and-operation/application-only/deploy-oneagent-on-openshift-for-application-only-monitoring/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It's easier way and better because you will not need building image everytime. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:05:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120311#M676</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-27T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120312#M677</link>
      <description>&lt;P&gt;I didn't understand the different instructions, especially what I needed to do first.&lt;/P&gt;
&lt;P&gt;In fact, I couldn't understand the meaning of the following instructions&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Extend your deployment template with &lt;CODE&gt;initContainer&lt;/CODE&gt;, which will download OneAgent, and make it available as a volume. See the &lt;CODE&gt;# initcontainer to download OneAgent&lt;/CODE&gt; and &lt;CODE&gt;# Make OneAgent available as a volume&lt;/CODE&gt; sections of the example below.&lt;BR /&gt;Possible values for the &lt;CODE&gt;DT_ONEAGENT_OPTIONS&lt;/CODE&gt;:
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;FLAVOR&amp;gt;&lt;/CODE&gt;: The flavor of your image. Use either &lt;CODE&gt;default&lt;/CODE&gt; or &lt;CODE&gt;musl&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;&amp;lt;TECHNOLOGY&amp;gt;&lt;/CODE&gt;: The OneAgent code module required for your application. Valid options are &lt;CODE&gt;all&lt;/CODE&gt;, &lt;CODE&gt;java&lt;/CODE&gt;, &lt;CODE&gt;apache&lt;/CODE&gt;, &lt;CODE&gt;nginx&lt;/CODE&gt;, &lt;CODE&gt;nodejs&lt;/CODE&gt;, &lt;CODE&gt;dotnet&lt;/CODE&gt;, &lt;CODE&gt;php&lt;/CODE&gt;, and &lt;CODE&gt;go&lt;/CODE&gt;. You can specify several code modules, use the &lt;CODE&gt;&amp;amp;include=&amp;lt;technology1&amp;gt;&amp;amp;include=&amp;lt;technology2&amp;gt;&lt;/CODE&gt; syntax for that.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Add the newly created volume to the container of your application. See the &lt;CODE&gt;# your application containers&lt;/CODE&gt; section of the example below.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 09:09:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120312#M677</guid>
      <dc:creator>refka_hachani</dc:creator>
      <dc:date>2025-05-29T09:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120313#M678</link>
      <description>&lt;P&gt;You should have yaml script responsible for container startup. There you should paste extra configuration according to documentation. This is all you need to do, than you will have no need for building images each time. This is old way of instrumatation.&lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 11:41:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120313#M678</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-27T11:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120314#M679</link>
      <description>&lt;P&gt;thanks but where can i find the yaml script .&lt;/P&gt;&lt;P&gt;you find below the screenshot for the application deployed on openshift online with the different service.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/21111-1561641593628.png" /&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;refka&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:20:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120314#M679</guid>
      <dc:creator>refka_hachani</dc:creator>
      <dc:date>2019-06-27T13:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120315#M680</link>
      <description>&lt;P&gt;Here you have some details about deployment templates:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.openshift.com/container-platform/3.5/dev_guide/templates.html"&gt;https://docs.openshift.com/container-platform/3.5/dev_guide/templates.html&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:24:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120315#M680</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-27T13:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120316#M681</link>
      <description>&lt;P&gt;thanks a lot &lt;/P&gt;&lt;P&gt;In fact, when i acceded to the interface of the openshift where the application id deployed , i consult the different services &lt;/P&gt;&lt;P&gt;firstly, i consult the airports service and i found the yaml file below&lt;IMG src="https://community.dynatrace.com/legacyfs/online/21116-1561644815075.png" /&gt;my questions are:&lt;/P&gt;&lt;P&gt;the modification in the documentations should be inserted in this file&lt;/P&gt;&lt;P&gt;knowing that the application contains  services, should i modify the yaml file for each service&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Refka&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:16:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120316#M681</guid>
      <dc:creator>refka_hachani</dc:creator>
      <dc:date>2019-06-27T14:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120317#M682</link>
      <description>&lt;P&gt;Hello sebastian,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I created a file yaml in the project and i inserted into it the template below with replacing &lt;/P&gt;&lt;P&gt;the value, the tocken ,environement id , the option par the right values.&lt;/P&gt;&lt;P&gt;After that, i consult the interface dynatrace , i didn't see the application.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/21117-1561649095616.png" /&gt;&lt;/P&gt;&lt;P&gt;it's right that i did?&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:27:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120317#M682</guid>
      <dc:creator>refka_hachani</dc:creator>
      <dc:date>2019-06-27T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120318#M683</link>
      <description>&lt;P&gt;I’m not open shift admin actually, we are sending configuration to client andinistrators and they are making all changes, so sorry but I will not help here anymore &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; but maybe somebody else has some extra knowledge about this. This is rather question to open shot community I think.&lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 16:23:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120318#M683</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-27T16:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy OneAgent on OpenShift for application-only monitoring</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120319#M684</link>
      <description>&lt;P&gt;Seems ok but you have to add proper&lt;/P&gt;&lt;P&gt;Parameters like API url, PaaS token and API key. Without this your script os not able to download OneAgent, install it and instrument process. &lt;/P&gt;&lt;P&gt;All details are in documentation I’ve pasted. &lt;/P&gt;&lt;P&gt;I don’t have access to computer for checking but in tank important are indents in row. If you will have any errors be sure that everything has right indent &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jun 2019 17:45:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Deploy-OneAgent-on-OpenShift-for-application-only-monitoring/m-p/120319#M684</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-06-27T17:45:36Z</dc:date>
    </item>
  </channel>
</rss>

