Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# Deploy Application Monitor to Kubernetes

After creating the Docker image for ActiveMatrix Service Grid - Container Edition TEA agent and TIBCO Enterprise Administrator server, you can deploy the Application Monitor to Kubernetes. Application Monitor needs the cluster view permission, so you must first create a service account with a cluster view role.

Procedure

1. Navigate to `amsgce-runtime-<version>/samples/kubernetes/Application_Monitor`.

2. To create a service account with a cluster view role, run the following command:

       kubectl apply -f amxce_authorization.yaml

3. In the `tea-server.yaml` file, update <tea-server-docker-image> with a TEA Server Docker image. Run the `apply` command of `kubectl` utility to deploy the TEA Server to Kubernetes.

       kubectl apply -f tea-server.yaml

4. In the `tea-agent.yaml` file, update <amxceteaagent-image-name> with TEA agent Docker image. Run the `apply` command of `kubectl` utility to deploy the TEA agent to Kubernetes.

       kubectl apply -f tea-agent.yaml

5. Verify that the deployment has succeeded and that the pod is running. For example:

       ~$ kubectl get pod -n monitoring
       NAME                                     READY   STATUS    RESTARTS   AGE
       tea-agent-deployment-6c7f784fb8-pjr6g    2/2     Running   0          11s
       tea-server-deployment-7699c48774-s46vf   1/1     Running   0          2m57s

6. To access the Application Monitor dashboard, navigate to: `http://<hostname>:31877/tea`.

What to do next

Now the Application Monitor is running in the Kubernetes platform. In the next step, you can monitor the status of Bookstore application and components of application in the Application Monitor UI.

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.