How to Monitor Kubernetes Namespace Using eG Enterprise?
To monitor Kubernetes Namespace using eG Enterprise, follow the broad steps outlined below:
-
Add a Kubernetes Namespace component using eG Admin interface;
-
Configure tests for the managed Kubernetes Namespace;
Each of these broad steps are discussed elaborately below.
Adding a Kubernetes Namespace component
The eG Enterprise cannot automatically discover a Kubernetes Namespace. This implies that you need to manually add the component for monitoring. The steps for manually adding a Kubernetes Namespace are detailed below:
-
Login to the eG admin interface.
-
Click on the Add Component button in the right corner of the Components at a Glance page that appeared or follow the Infrastructure -> Components -> Add/Modify menu sequence.
-
In the page that appears, select Kubernetes Namespace as the Component type and click the Add New Component button. Figure 1 will then appear.
-
In Figure 1, assign a unique Nick name to the target Kubernetes Namespace component.
-
By default, the Auto option against the Internal agent assignment flag will be selected. However, Kubernetes Namespace can be monitored using an already existing eG agent assigned for Kubernetes/OpenShift cluster. For this purpose, set Manual option against Internal agent assignment flag. This enables you to select the same agent assigned for monitoring Kubernetes/OpenShift cluster.
-
Upon choosing Manual, an additional Internal agent list box will appear . From this list box, select the eG agent that needs to be associated with the IP of the target component being created.
-
Finally, associate one or more External agents with the component, and click the Add button to complete the configuration.
Configuring the tests
Once the Kubernetes Namespace component is added, proceed to configure tests for the component. For that, do the following:
-
Follow the Infrastructure -> Components -> Add/Modify menu sequence in the eG admin interface.
-
In the page that appears next, select Kubernetes Namespace as the Component type. The Kubernetes Namespace that you recently added will then be listed therein. To configure tests for that server, click on the
icon corresponding to it (see Figure 2).
Figure 2 : Clicking on the Configure Tests icon corresponding to a managed Kubernetes Namespace
-
Figure 3 will then appear. The UNCONFIGURED TESTS and CONFIGURED TESTS list boxes that then appear will display the tests that are still to be configured and the tests that have been configured by default (respectively) for the chosen server. From the CONFIGURED TESTS list Figure 3, select the test that you want to configure. Once you select the test, click the Configure button in Figure 3 to configure it.
-
For instance, if you click on DaemonSets By Namespace Test Figure 4 will appear.
-
To know how to configure this test, refer to DaemonSets By Namespace Test
-
Click the Update button to update the test configuration. This will automatically configure all the other unconfigured tests for the Kubernetes Namespace component.