<?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: HOST ID generation for GCP preemptible K8s nodes in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/209814#M1896</link>
    <description>&lt;P&gt;it appears that yes it will take into account all the IPS, you could add in the regex that grabs one of the desired IPs, but that might be problematic as the desired IP could be in different positions.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2023 15:58:30 GMT</pubDate>
    <dc:creator>ChadTurner</dc:creator>
    <dc:date>2023-04-13T15:58:30Z</dc:date>
    <item>
      <title>HOST ID generation for GCP preemptible K8s nodes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/207423#M1895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;with oneagent options you can set the &lt;A href="https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-configuration-via-command-line-interface#host-id" target="_self"&gt;HOST ID generation source to IP Adresses&lt;/A&gt;. We have done this for preemptible K8s nodes on GCP to avoid the creation of hundreds of hosts in Dynatrace (an ever growing list since preemptible nodes can go and disappear at any time).&lt;/P&gt;&lt;P&gt;After applying the parameter in the Dynatrace Operator I'd have expected the list of hosts becoming shorter but it seems that this option considers all IP addresses of the host and therefore doesn't really have an impact.&lt;/P&gt;&lt;P&gt;Specifically I do have a host naming rule that takes the last octed of the host IP and renames the host:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_0-1679311892708.png" style="width: 563px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10564iDC4CE84C5431F65C/image-dimensions/563x209?v=v2" width="563" height="209" role="button" title="r_weber_0-1679311892708.png" alt="r_weber_0-1679311892708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However I still get two hosts created over the course of time, where I'd have expected only one:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_1-1679312044313.png" style="width: 815px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10565i95FA34A271F6ECE8/image-dimensions/815x55?v=v2" width="815" height="55" role="button" title="r_weber_1-1679312044313.png" alt="r_weber_1-1679312044313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe this is due to the fact that the hosts also get different public IP addresses?&lt;BR /&gt;(.33 vs. .198)&lt;BR /&gt;host1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_2-1679312115015.png" style="width: 615px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10566i0EBDFC278D99F7C4/image-dimensions/615x83?v=v2" width="615" height="83" role="button" title="r_weber_2-1679312115015.png" alt="r_weber_2-1679312115015.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;host2:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_3-1679312136267.png" style="width: 625px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/10567i64EB09096193FE85/image-dimensions/625x86?v=v2" width="625" height="86" role="button" title="r_weber_3-1679312136267.png" alt="r_weber_3-1679312136267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would be great if someone could confirm this how it is done in detail? Are all addresses used or one? Which one?&lt;/P&gt;&lt;P&gt;The documentation of the HOST ID parameter says ip-addresses (pl.), though the description says ip-address (sing.). Also the Naming rule only understands one Host:ipAddress.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 09:29:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/207423#M1895</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-03-22T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: HOST ID generation for GCP preemptible K8s nodes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/209814#M1896</link>
      <description>&lt;P&gt;it appears that yes it will take into account all the IPS, you could add in the regex that grabs one of the desired IPs, but that might be problematic as the desired IP could be in different positions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:58:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/209814#M1896</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-04-13T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: HOST ID generation for GCP preemptible K8s nodes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/209821#M1897</link>
      <description>&lt;P&gt;I got confirmation from lab/support that for the HOST ID generation ALL IPs of an interface are used to create the ID.&lt;/P&gt;&lt;P&gt;This renders that feature unusable for GCP K8s nodes (preemptible) as there seem to be alias addresses on one interface, like so&lt;/P&gt;&lt;P&gt;eth0: 192.168.100.10&lt;BR /&gt;eth0:1: &amp;lt;public ip random 1&amp;gt;&lt;BR /&gt;eth0:2: &amp;lt;public ip random 2&amp;gt;&lt;/P&gt;&lt;P&gt;So although one can assign a fixed pool of private addresses the alias public addresses are random, thus the HOST ID will change all the time.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 18:04:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/209821#M1897</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-04-13T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: HOST ID generation for GCP preemptible K8s nodes</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/210289#M1898</link>
      <description>&lt;P&gt;The funny inconsistent part is that in the Dynatrace UI on the classic host view the property "IP Addresses" consists of one IP (while public GCE IP addresses are listed seperately):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_0-1681981714492.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11224i109A12BCB4FD9FF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_0-1681981714492.png" alt="r_weber_0-1681981714492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the new vie those are merged:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_1-1681981789394.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/11225i3DB7D70504D2E6F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_1-1681981789394.png" alt="r_weber_1-1681981789394.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when extracting IP Adresses in host-naming rules it also just seems to be one IP address (the private one) .... oh my!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 09:10:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/HOST-ID-generation-for-GCP-preemptible-K8s-nodes/m-p/210289#M1898</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-04-20T09:10:30Z</dc:date>
    </item>
  </channel>
</rss>

