<?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: Split K8S services by version in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247320#M2558</link>
    <description>&lt;P&gt;This is how I would approach to this too.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 09:53:46 GMT</pubDate>
    <dc:creator>PacoPorro</dc:creator>
    <dc:date>2024-06-04T09:53:46Z</dc:date>
    <item>
      <title>Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247221#M2554</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Customer developers running few version of the same application on K8S cluster.&lt;/P&gt;&lt;P&gt;Dynatrace merge together all the pods from different version into unified service and we are asked to split the process by versions.&lt;/P&gt;&lt;P&gt;Each version running on its separated &lt;EM&gt;workload&lt;/EM&gt; name which look like &lt;STRONG&gt;name-version#-subversion#&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Kubernetes full pod name&lt;/EM&gt; for each process also look like&amp;nbsp; &lt;STRONG&gt;name-version#-subversion#-podid&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;&lt;EM&gt;Kubernetes group detection rule result&lt;/EM&gt;&amp;nbsp;shows as &lt;STRONG&gt;name-*-*-* &lt;/STRONG&gt;and eventually collect all the process of different version together.&lt;/P&gt;&lt;P&gt;We have tried to set&amp;nbsp; &lt;STRONG&gt;Cloud application and workload detection&amp;nbsp;&lt;/STRONG&gt;to ignore &lt;EM&gt;Base pod name&lt;/EM&gt;&amp;nbsp;with no success &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any suggestion on how to sperate the processes ?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6034"&gt;@yair_mashmor&lt;/a&gt;&amp;nbsp;&amp;amp; Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 14:21:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247221#M2554</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-06-03T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247246#M2555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6931"&gt;@Yosi_Neuman&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You should create an &lt;A href="https://docs.dynatrace.com/docs/shortlink/process-groups#advanced" target="_self"&gt;Advanced detection rule&lt;/A&gt; for the Process Groups based on k8s. Be sure to do not ignore the numbers because those are the versions are you expecting to split.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cesarsaravia_1-1717428874891.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20284i481E8940CD218E6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cesarsaravia_1-1717428874891.png" alt="cesarsaravia_1-1717428874891.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: After creating this rule, you need to restart/killing the pods and wait to recreate new ones and the new PG rules applies.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Cesar S.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 15:37:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247246#M2555</guid>
      <dc:creator>cesarsaravia</dc:creator>
      <dc:date>2024-06-03T15:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247316#M2556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30478"&gt;@cesarsaravia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was our first approach, because it failed to split the processes we tried the&amp;nbsp;&lt;EM&gt;Cloud application and workload detection.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Will give it another try and will update&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yos &amp;amp;&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6034"&gt;@yair_mashmor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 08:20:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247316#M2556</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-06-04T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247319#M2557</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6931"&gt;@Yosi_Neuman&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;first of all - what deployment model in Kubernetes are you using? The answer pretty much depends on that. If you use cloudNativeFullStack or applicationOnly, you can use the &lt;A href="https://docs.dynatrace.com/docs/shortlink/build-label-propagation" target="_blank"&gt;build label propagation feature&lt;/A&gt;. It will set DT_RELEASE* environment variables based on the metadata of the workload.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you use classicFullStack, this does not have any effect, but you can set the variables also manually in the application deployment (one of our customers preferred this way and stayed with classicFullStack for now).&amp;nbsp; Don't forget to set a rule in the cloud application and workload detection, for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julius_Loman_0-1717492913772.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20309i20377D34DE8594DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julius_Loman_0-1717492913772.png" alt="Julius_Loman_0-1717492913772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If all this fails, you can use also old school methods of defining your own variable (maybe customer is using that!) and create a classic process group detection rule using this variable. But anyway, you should do that in a way which scales globally in your environment.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 09:25:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247319#M2557</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-06-04T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247320#M2558</link>
      <description>&lt;P&gt;This is how I would approach to this too.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 09:53:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247320#M2558</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-06-04T09:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247340#M2559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its&amp;nbsp;&lt;SPAN&gt;classicFullStack and we tried the&amp;nbsp;cloud application and workload detection with no success &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will try the old school way &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6034"&gt;@yair_mashmor&lt;/a&gt;&amp;nbsp;&amp;amp; Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 12:44:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247340#M2559</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-06-04T12:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Split K8S services by version</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247347#M2560</link>
      <description>&lt;P&gt;Yes, old school way will work. However, it might be possible for you to automate this at the deployment level - but it depends on how the customer is deploying apps. If they have automation and basic templates, it's possible to do it there and maybe setup the DT_RELEASE* variables.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Be sure to investigate this option too.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 14:01:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Split-K8S-services-by-version/m-p/247347#M2560</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-06-04T14:01:24Z</dc:date>
    </item>
  </channel>
</rss>

