Background
Kubernetes (K8S) / OpenShift are container-orchestration system for automating application deployment, scaling, and management.
As K8S / OpenShift are dynamic environments without determined sources as containers operation is dynamic and managed by the K8S / OpenShift cluster.that automates deployment, scaling, and operations of application containers across clusters of hosts it constantly changing. Therefore, it is not possible to collect data by engaging connections to the containers and different NODES/PODS/CONTAINERS as they constantly changes as well.
In order to get the logs data processed from such dynamic environments, it is required to dynamically send the logs from K8S / OpenShift cluster to XpoLog , so in real time while running - whenever a new container is created in the cluster it immediately ships the logs to XpoLog.
The procedure requires a dynamic an automated deployment of a lightweight agent log forwarder that will be automatically deployed and managed by the K8S / OpenShift cluster and send the container’s logs to XpoLog for processing/monitoring.
...