Deploy the Database Agent in EKS Cluster

Deploy the database agent in EKS Cluster.

Update the following fields in the yaml files:

YAML File Field
accessKey.secret.yaml APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY
dbagentProperties.configMap.yaml

APPDYNAMICS_CONTROLLER_HOST_NAME

APPDYNAMICS_CONTROLLER_PORT

APPDYNAMICS_CONTROLLER_SSL_ENABLED

APPDYNAMICS_DB_AGENT_NAME

APPDYNAMICS_AGENT_ACCOUNT_NAME

dbagent.deployment.yaml spec.template.spec.containers.image

Perform these steps to deploy the Database Agent:

  1. Navigate to the k8s-deploy directory.
  2. Create the configMap for db-agent properties:
    kubectl create -f dbagentProperties.configMap.yaml --save-config
  3. Create the secret for account access-key:
    kubectl create -f accessKey.secret.yaml --save-config
  4. Create the logs configMap:
    kubectl create -f logs.configmap.yaml --save-config
  5. Create the deployment for db-agent:
    kubectl create -f dbagent.deployment.yaml --save-config
    Note: You can edit the selectors and labels in the deployment.yaml file if the labels overlap with existing deployments in your cluster. Do not overlap the selectors or labels with other Controllers (including other Deployments and StatefulSets). Kubernetes do not stop you from overlapping. Hence, if multiple Controllers have overlapping selectors, then the Controllers might conflict and behave unexpectedly.