<?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 Dynatrace operator custom namespace name in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/198572#M1384</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am setting up Kubernetes monitoring in our environment, and I am following the documentation for "Get started with Kubernetes/OpenShift monitoring"&lt;/P&gt;
&lt;P&gt;We use a hosted EKS cluster, and have a specific naming convention for namespace names. This means I can't complete the first step to create a 'dynatrace' namespace. I have created a namespace using our naming convention, so am hoping to amend the config files for the rest to the process using our own namespace name.&lt;/P&gt;
&lt;P&gt;For the next step 'Install Dynatrace Operator', I downloaded a local copy of the kubernetes.yaml file, and updated all instances of the namespace name to the new value of our custom namespace. When I ran the kubectl apply command using the local copy of the kubernetes.yaml file, it created some resources, but then gave a number of Forbidden errors. A sample of the output is shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I notice that the Namespace in the forbidden error is blank, so perhaps I need some other config to be updated with my namespace name?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;poddisruptionbudget.policy/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-activegate created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-kubernetes-monitoring created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-dynakube-oneagent-privileged created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-dynakube-oneagent-unprivileged created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-operator created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;service/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;deployment.apps/dynatrace-operator created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;deployment.apps/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Error from server (Forbidden): error when retrieving current configuration of:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Resource: "apiextensions.k8s.io/v1, Resource=customresourcedefinitions", GroupVersionKind: "apiextensions.k8s.io/v1, Kind=CustomResourceDefinition"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Name: "dynakubes.dynatrace.com", Namespace: ""&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;from server for: "/root/.kube/kubernetes.yaml": customresourcedefinitions.apiextensions.k8s.io "dynakubes.dynatrace.com" is forbidden: User "dyna-********" cannot get resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 08:38:23 GMT</pubDate>
    <dc:creator>nick_chard</dc:creator>
    <dc:date>2022-11-18T08:38:23Z</dc:date>
    <item>
      <title>Dynatrace operator custom namespace name</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/198572#M1384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am setting up Kubernetes monitoring in our environment, and I am following the documentation for "Get started with Kubernetes/OpenShift monitoring"&lt;/P&gt;
&lt;P&gt;We use a hosted EKS cluster, and have a specific naming convention for namespace names. This means I can't complete the first step to create a 'dynatrace' namespace. I have created a namespace using our naming convention, so am hoping to amend the config files for the rest to the process using our own namespace name.&lt;/P&gt;
&lt;P&gt;For the next step 'Install Dynatrace Operator', I downloaded a local copy of the kubernetes.yaml file, and updated all instances of the namespace name to the new value of our custom namespace. When I ran the kubectl apply command using the local copy of the kubernetes.yaml file, it created some resources, but then gave a number of Forbidden errors. A sample of the output is shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I notice that the Namespace in the forbidden error is blank, so perhaps I need some other config to be updated with my namespace name?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;poddisruptionbudget.policy/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-activegate created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-kubernetes-monitoring created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-dynakube-oneagent-privileged created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-dynakube-oneagent-unprivileged created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-operator created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;serviceaccount/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;service/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;deployment.apps/dynatrace-operator created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;deployment.apps/dynatrace-webhook created&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Error from server (Forbidden): error when retrieving current configuration of:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Resource: "apiextensions.k8s.io/v1, Resource=customresourcedefinitions", GroupVersionKind: "apiextensions.k8s.io/v1, Kind=CustomResourceDefinition"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Name: "dynakubes.dynatrace.com", Namespace: ""&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;from server for: "/root/.kube/kubernetes.yaml": customresourcedefinitions.apiextensions.k8s.io "dynakubes.dynatrace.com" is forbidden: User "dyna-********" cannot get resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 08:38:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/198572#M1384</guid>
      <dc:creator>nick_chard</dc:creator>
      <dc:date>2022-11-18T08:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace operator custom namespace name</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202080#M1447</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17956"&gt;@nick_chard&lt;/a&gt;&amp;nbsp;were you able to get this sorted out?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:51:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202080#M1447</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace operator custom namespace name</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202686#M1453</link>
      <description>&lt;P&gt;Hi Chad,&lt;/P&gt;&lt;P&gt;No I didn't get a resolution. After doing some more research into it, the error suggests it's a permissions problem, and my account doesn't have the correct permissions at the EKS cluster level, however, I have managed to prove this yet, or get a working solution.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 09:45:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202686#M1453</guid>
      <dc:creator>nick_chard</dc:creator>
      <dc:date>2023-01-18T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace operator custom namespace name</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202744#M1455</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17956"&gt;@nick_chard&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Which deployment mode did you use ?&lt;BR /&gt;Did you try the latest release 0.10.2?&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/whats-new/release-notes/dynatrace-operator" target="_blank"&gt;https://www.dynatrace.com/support/help/whats-new/release-notes/dynatrace-operator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also maybe &lt;EM&gt;troubleshoot&lt;/EM&gt; command could help you :&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="andale mono,times"&gt;kubectl exec deploy/dynatrace-operator -n dynatrace -- dynatrace-operator troubleshoot --namespace=&lt;EM&gt;yourcustomnamespace&lt;/EM&gt;&amp;nbsp;--dynakube=&lt;EM&gt;yourdynakubename&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 19:20:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Dynatrace-operator-custom-namespace-name/m-p/202744#M1455</guid>
      <dc:creator>jegron</dc:creator>
      <dc:date>2023-01-18T19:20:59Z</dc:date>
    </item>
  </channel>
</rss>

