Adding Kubernetes Worker

The eG Enterprise cannot automatically discover a Kubernetes Worker. This implies that you need to manually add the component for monitoring. The steps for manually adding a KubernetesWorker are detailed below:

  1. Login to the eG admin interface.

  2. 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.

  3. In the page that appears, select Kubernetes Worker as the Component type and click the Add New Component button. Figure 1 will then appear.

    Figure 1 : Adding a Kubernetes Worker

  4. In Figure 1, assign a unique Nick name to the target Kubernetes Worker component.

  5. By default, the Auto option against the Internal agent assignment flag will be selected. However, Kubernetes Worker 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.

  6. 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.

  7. 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 Worker component is added, proceed to configure tests for the component. For that, do the following:

  1. Follow the Infrastructure -> Components -> Add/Modify menu sequence in the eG admin interface.

  2. In the page that appears next, select Kubernetes Worker as the Component type. The Kubernetes Worker 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 Worker

  3. 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.

    Figure 3 : List of Configured tests

  4. To know how to configure this test, refer to Container Performance Test

  5. Click the Update button to update the test configuration. This will automatically configure all the other unconfigured tests for the Kubernetes Worker component.