<?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 Getting error while Installing the Cluster Agent with the Kubernetes CLI in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717606#M572</link>
    <description>&lt;P&gt;I am trying to&amp;nbsp;&lt;SPAN class=""&gt;Install the Cluster Agent with the Kubernetes CLI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am getting the below error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#kubectl create -f cluster-agent.yaml&lt;BR /&gt;error: error validating "cluster-agent.yaml": error validating data: [ValidationError(Clusteragent.spec): unknown field "account" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "appName" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "controllerUrl" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "serviceAccountName" in com.appdynamics.v1alpha1.Clusteragent.spec]; if you choose to ignore these errors, turn validation off with --validate=false&lt;/P&gt;&lt;P&gt;When i change the apiVersion: appdynamics.com/v1&lt;/P&gt;&lt;P&gt;kubectl create -f cluster-agent.yaml&lt;BR /&gt;error: resource mapping not found for name: "k8s-cluster-agent" namespace: "appdynamics" from "cluster-agent.yaml": no matches for kind "Clusteragent" in version "appdynamics.com/v1"&lt;BR /&gt;ensure CRDs are installed first&lt;/P&gt;&lt;P&gt;Please help me to resolve this&lt;/P&gt;&lt;P&gt;kubectl version&lt;/P&gt;&lt;P&gt;Client Version: v1.24.0&lt;BR /&gt;Kustomize Version: v4.5.4&lt;BR /&gt;Server Version: v1.22.6&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 16:10:04 GMT</pubDate>
    <dc:creator>Loganathan_T</dc:creator>
    <dc:date>2022-05-26T16:10:04Z</dc:date>
    <item>
      <title>Getting error while Installing the Cluster Agent with the Kubernetes CLI</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717606#M572</link>
      <description>&lt;P&gt;I am trying to&amp;nbsp;&lt;SPAN class=""&gt;Install the Cluster Agent with the Kubernetes CLI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am getting the below error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#kubectl create -f cluster-agent.yaml&lt;BR /&gt;error: error validating "cluster-agent.yaml": error validating data: [ValidationError(Clusteragent.spec): unknown field "account" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "appName" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "controllerUrl" in com.appdynamics.v1alpha1.Clusteragent.spec, ValidationError(Clusteragent.spec): unknown field "serviceAccountName" in com.appdynamics.v1alpha1.Clusteragent.spec]; if you choose to ignore these errors, turn validation off with --validate=false&lt;/P&gt;&lt;P&gt;When i change the apiVersion: appdynamics.com/v1&lt;/P&gt;&lt;P&gt;kubectl create -f cluster-agent.yaml&lt;BR /&gt;error: resource mapping not found for name: "k8s-cluster-agent" namespace: "appdynamics" from "cluster-agent.yaml": no matches for kind "Clusteragent" in version "appdynamics.com/v1"&lt;BR /&gt;ensure CRDs are installed first&lt;/P&gt;&lt;P&gt;Please help me to resolve this&lt;/P&gt;&lt;P&gt;kubectl version&lt;/P&gt;&lt;P&gt;Client Version: v1.24.0&lt;BR /&gt;Kustomize Version: v4.5.4&lt;BR /&gt;Server Version: v1.22.6&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 16:10:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717606#M572</guid>
      <dc:creator>Loganathan_T</dc:creator>
      <dc:date>2022-05-26T16:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Installing the Cluster Agent with the Kubernetes CLI</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717607#M573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/149121"&gt;@Loganathan.T&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;I'm going to do more searching for those errors. In the meantime, I wanted to share our AppD Docs page on installing Cluster Agents:&amp;nbsp;&lt;A href="https://docs.appdynamics.com/22.5/en/infrastructure-visibility/monitor-kubernetes-with-the-cluster-agent/install-the-cluster-agent" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/22.5/en/infrastructure-visibility/monitor-kubernetes-with-the-cluster-agent/install-the-cluster-agent&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if those offered any help in the meantime.&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 17:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717607#M573</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2022-05-26T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while Installing the Cluster Agent with the Kubernetes CLI</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717608#M574</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142051"&gt;@Ryan.Paredez&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to install cluster agent by using helm charts method. Followed the link you have provided&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.appdynamics.com/22.5/en/infrastructure-visibility/monitor-kubernetes-with-the-cluster-agent/install-the-cluster-agent/install-the-cluster-agent-with-helm-charts" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.appdynamics.com/22.5/en/infrastructure-visibility/monitor-kubernetes-with-the-cluster-agent/install-the-cluster-agent/install-the-cluster-agent-with-helm-charts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I got the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: APIService "v1beta1.metrics.k8s.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "appdclusteragent"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "appdynamics"&lt;/P&gt;&lt;P&gt;Since the Metrics server already installed by default in AKS, i am unable to install it. So i disabled it in the&amp;nbsp;&lt;SPAN&gt;values-ca1.yam as below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;# Subcharts boolean install switches&lt;BR /&gt;install:&lt;BR /&gt;metrics-server: false&lt;/P&gt;&lt;P&gt;Now &lt;SPAN&gt;Cluster Agent is reporting to the Controller. Thank for the support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 07:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Getting-error-while-Installing-the-Cluster-Agent-with-the/m-p/717608#M574</guid>
      <dc:creator>Loganathan_T</dc:creator>
      <dc:date>2022-05-27T07:16:14Z</dc:date>
    </item>
  </channel>
</rss>

