# Discovery

This plugin can be integrated with Pandora FMS Discovery.

To do so, you must load the ".disco" package that you can download from the Pandora FMS library:

[https://pandorafms.com/library/kubernetes-discovery/](https://pandorafms.com/library/kubernetes-discovery/)

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/scaled-1680-/kgYimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/kgYimage.png)

Once loaded, you will be able to monitor Kubernetes environments by creating Discovery tasks from the *Management &gt; Discovery &gt; App*

The following minimum data will be requested for each task:

- **Kubernetes host**: Kubernetes host.
- **Kubernetes port**: Port used by Kubernetes.
- **Kubernetes token** : Bearer authentication token, required if not connecting via proxy.
- **Use prefix :** Check to enable to choose a prefix for the agents.
- **Prefix:** Prefix chosen for the agents. Enable "Use prefix" to use this option.
- **Use proxy**: Check to activate the proxy connection.
- **Proxy url:** Proxy url, it will only be visible if "Use proxy" is checked.
- **Filter\_namespace**: Check to enable the possibility of filtering by namespaces.
- **Namespace:** Namespaces to filter, specify between square brackets, between quotation marks, separated by commas. Example \["default", "glotka"\].
- **Tentacle IP** : Tentacle server IP to send agent data to. Normally this parameter will not be modified.
- **Tentacle port:** Tentacle server port to send data to. Normally this parameter will not be modified.

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2024-08/scaled-1680-/Xhbimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2024-08/Xhbimage.png)

You can also adjust the task settings to customize the desired monitoring:

- **Scan Deployments :** If activated, it will monitor the deployments and create an agent for each of these.
- **Scan Nodes:** If activated, it will monitor the nodes and create an agent for each of them.
- **Scan Pods:** If activated, it will monitor the pods and create an agent for each of them.<label class=""></label>

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/scaled-1680-/S5fimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/S5fimage.png)

Successfully completed tasks will have an execution summary with the following information:

- **Total agents**: Total number of agents generated by the task.
- **Deployment agents**: Total number of deployment agents created by the task.
- **Pods agents** : Total number of pod agents created by the task.
- **Nodes Agents:** Total number of node agents created by the task.

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/scaled-1680-/q8Wimage.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2023-09/q8Wimage.png)