apiVersion: cluster.appdynamics.com/v1alpha1
kind: Clusteragent
metadata:
name: k8s-cluster-agent
namespace: appdynamics
spec:
appName: "dev-cluster"
controllerUrl: "http://mycontroller.com:8080"
account: "my-account"
# docker image info where, <version> is the image tag version that you are installing
image: "docker.io/appdynamics/cluster-agent:<version>"
serviceAccountName: appdynamics-cluster-agent
nsToMonitor: [appdynamics,namespace1,namespace2]
stdoutLogging: "true"