Collecting and storing information from the pods associated to KNFs deployed in a Kubernetes cluster
Proposers
- Pedro Pereira (IT)
- Pedro Escaleira (IT)
Description
Through the use of the kubectl command line tool, we can obtain useful information regarding the pods associated to KNFs deployed by OSM in a Kubernetes cluster, such as the name and IP address of the node in which it was deployed, as well as the pod IP address and the IDs of the deployed containers, along with other relevant information.
This information should be stored in the database document associated to the network service the pod is a part of. Furthermore, it is important to keep this information up-to-date to ensure the user receives accurate data.
This unlocks several new capabilities, providing OSM and the user with valuable information on the Kubernetes objects it deploys, potentially leading to improved options for monitoring and managing.
Demo or definition of done
The feature can be considered done when we can launch KNFs in a Kubernetes cluster and the database is updated with information related to this KNF collected through the use of the kubectl command line tool. The feature must also include the necessary logic that ensures that this information is kept up-to-date.