<?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: switching licenses to specific kubernetes hosts (infra vs full stack) in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213899#M1882</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21312"&gt;@moses_chacko&lt;/a&gt; . Yes, you can do it easily using the API.&lt;/P&gt;&lt;P&gt;1.-Query the entities API&amp;nbsp; to obtain the list of HOST ID's: for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;type(HOST),kubernetesLabels(kubernetes.io/arch:amd64)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;2.-Now you can use the Setting Object API to change from infra to full stack (use the HOST ID's from 1 in scope):&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[  {
    "schemaId": "builtin:host.monitoring",
    "value": {
                "enabled": true,
                "fullStack": true,
                "autoInjection": true
            },
    "schemaVersion": "1",
    "scope": {"HOST-74B8001XXXXXX",
               "HOST-74B80016YYYYYYYY",
               } }]​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 21:08:12 GMT</pubDate>
    <dc:creator>DanielS</dc:creator>
    <dc:date>2023-06-01T21:08:12Z</dc:date>
    <item>
      <title>switching licenses to specific kubernetes hosts (infra vs full stack)</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213896#M1881</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;is switching licenses to specific kubernetes hosts (infra vs full stack) something that is doable based on kubernetes specific host labels / annotations?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 07:43:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213896#M1881</guid>
      <dc:creator>moses_chacko</dc:creator>
      <dc:date>2023-06-02T07:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: switching licenses to specific kubernetes hosts (infra vs full stack)</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213899#M1882</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21312"&gt;@moses_chacko&lt;/a&gt; . Yes, you can do it easily using the API.&lt;/P&gt;&lt;P&gt;1.-Query the entities API&amp;nbsp; to obtain the list of HOST ID's: for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;type(HOST),kubernetesLabels(kubernetes.io/arch:amd64)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;2.-Now you can use the Setting Object API to change from infra to full stack (use the HOST ID's from 1 in scope):&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[  {
    "schemaId": "builtin:host.monitoring",
    "value": {
                "enabled": true,
                "fullStack": true,
                "autoInjection": true
            },
    "schemaVersion": "1",
    "scope": {"HOST-74B8001XXXXXX",
               "HOST-74B80016YYYYYYYY",
               } }]​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:08:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213899#M1882</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2023-06-01T21:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: switching licenses to specific kubernetes hosts (infra vs full stack)</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213906#M1883</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;. Is my understanding correct that this will be a separate API step to after the Kubernetes specific host labels and annotations are set.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 01:47:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213906#M1883</guid>
      <dc:creator>moses_chacko</dc:creator>
      <dc:date>2023-06-02T01:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: switching licenses to specific kubernetes hosts (infra vs full stack)</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213909#M1884</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21312"&gt;@moses_chacko&lt;/a&gt;&amp;nbsp;/ &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35788"&gt;@DanielS&lt;/a&gt;&amp;nbsp;I'd not recommend doing this on hosts managed by Dynatrace Operator as the setting may not persist and it won't be automated when the cluster is scaled. Instead, you should configure the operator with multiple dynakubes configurations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use the &lt;A href="https://www.dynatrace.com/support/help/shortlink/dto-params-k8s#host" target="_blank"&gt;hostMonitoring deployment&lt;/A&gt;&amp;nbsp;where only host monitoring should be applied and use the nodeSelector parameter to select the nodes&lt;/LI&gt;&lt;LI&gt;another dynakube will use the &lt;A href="https://www.dynatrace.com/support/help/shortlink/dto-params-k8s#classic" target="_blank"&gt;classicFullStack&lt;/A&gt;/&lt;A href="https://www.dynatrace.com/support/help/shortlink/dto-params-k8s#native" target="_self"&gt;cloudNativeFullStack&lt;/A&gt; (depending on your choice) with the nodeSelector that will match the hosts where you need full stack monitoring&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 02 Jun 2023 06:39:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/switching-licenses-to-specific-kubernetes-hosts-infra-vs-full/m-p/213909#M1884</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-06-02T06:39:39Z</dc:date>
    </item>
  </channel>
</rss>

