How does eG Enterprise Monitor Kubernetes Worker?

eG Enterprise recommends monitoring Kubernetes worker using an internal agent assignment approach. Therefore, you can use the same agent assigned for monitoring Kubernetes/OpenShift cluster that is already managed and of which the target worker is a part. For this purpose, eG Enterprise  displays the eG remote agents that may pre-exist in the target cluster environment, enabling you to manually assign an agent for monitoring specific Kubernetes worker. From the list, select the eG agent you want to use for monitoring the Kubernetes worker by clicking on it. Only the worker that are part of the existing Kubernetes/OpenShift cluster component managed on eG Enterpise can be monitored using this approach. eG Enterprise auto manages the Kubernetes Worker by discovery, there is no option for manual management.

To enable the eG agent to collect metrics there are certain pre requisites that needs to be fulfilled:

To find out the name of the target namespace to monitor, do the following:

  • Go to the master node shell in the Kubernetes/OpenShift cluster.

  • Issue the below command to obtain the worker information:

    kubectl get worker

  • The current worker in the cluster will then be listed.

  • However, you can only specify one worker in the test configuration.

  • Therefore, identify the name of the target worker and provide that when configuring the tests of Kubernetes worker for monitoring using the eG administrative interface.

To know more about the requirements, refer to How Does eG Enterprise Monitor a Kubernetes/OpenShift Cluster?