How Does eG Enterprise Monitor Kubernetes Namespace?

eG Enterprise recommends monitoring Kubernetes Namespace 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 namespace 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 Namespace. From the list, select the eG agent you want to use for monitoring the Kubernetes Namespace by clicking on it. Only the namespaces that are part of the existing Kubernetes/OpenShift cluster component managed on eG Enterpise can be monitored using this approach.

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

  1. 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 namespace information:

      kubectl get namespaces

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

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

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

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