Download page Deploy the AppDynamics Operator on Red Hat OpenShift.
Deploy the AppDynamics Operator on Red Hat OpenShift
For versions 21.1 and higher, see step four of the “Installation Procedure” onInstall the Cluster Agent with the Kubernetes CLIfor the CLI command to install the Cluster Agent Operator using the correct Kubernetes and OpenShift version.
If you choose to Install the Cluster Agent with Helm Charts, the Helm chart will automatically recognize OpenShift as the target environment and apply the necessary configuration.
To deploy the AppDynamics Operator on OpenShift, open a command prompt and follow these steps:
This page contains links to Red Hat OpenShift documentation. AppDynamics makes no representation as to the accuracy of Red Hat OpenShift documentation because Red Hat controls its own documentation.
Ensure your oc is pointing to your Kubernetes cluster. See Get Started with the CLI in the Red Hat OpenShift documentation
Log on as a cluster administrator.
To create a namespace for appdynamics in your Red Hat OpenShift cluster, enter:
$ oc new-project appdynamics
CODE
To verify your namespace is created, enter:
$ oc get project
CODE
Example output:
NAME DISPLAY NAME STATUS
appdynamics Active
default Active
kube-public Active
kube-service-catalog Active
kube-system Active
TEXT
To install the latest version of the AppDynamics Operator for Red Hat OpenShift, enter:
The AppDynamics Operator creates a Custom Resource Definition, which extends the Kubernetes APIs to create a new Kubernetes type called clusteragents. The AppDynamics Operator also creates a serviceaccount, a clusterrole, and clusterrolebinding for the namespace.
Example output:
customresourcedefinition.apiextensions.k8s.io/clusteragents.appdynamics.com created
customresourcedefinition.apiextensions.k8s.io/infravizs.appdynamics.com created
serviceaccount/appdynamics-operator created
serviceaccount/appdynamics-infraviz created
podsecuritypolicy.extensions/appdynamics-infraviz created
clusterrole.rbac.authorization.k8s.io/appdynamics-operator created
clusterrolebinding.rbac.authorization.k8s.io/appdynamics-operator created
clusterrolebinding.rbac.authorization.k8s.io/appdynamics-infraviz created
role.rbac.authorization.k8s.io/appdynamics-infraviz created
rolebinding.rbac.authorization.k8s.io/appdynamics-infraviz created
deployment.apps/appdynamics-operator created
CODE
To verify that the AppDynamics Operator is running, enter:
oc -n appdynamics get pods
CODE
Example output:
NAME READY STATUS RESTARTS AGE
appdynamics-operator-95ffb549c-m8tjv 1/1 Running 0 30s