Data Collection for Containers

Data Collection for Containers

#410280

Densify collects and analyzes your container configuration and utilization data and provides resizing recommendations to run your container-based applications on the correct infrastructure.

The Densify data forwarder is a container that collects data from Kubernetes using a Prometheus server and then forwards that data to Densify. You can quickly deploy the data forwarder and all of the required prerequisite software using a Helm chart. See Kubex Automation Stack Helm Chart.

The data forwarder can also be configured to use a commercially-available observability platform that collects data from multiple clusters and forwards that data to Densify. Refer to Densify's Github repository for configuration details.

 

Data Collection from an In-Cluster Prometheus Deployment

When setting up data collection from in-cluster Prometheus deployments, the data forwarder needs to be deployed in every cluster that will be managed by Densify.

Use one of the following options:

Data Collection from an Observability Platform

Image Pull Policy

When deploying the data forwarder ensure that the same version of the forwarder is deployed to all clusters.

The data forwarder has the following 2 settings:

  • image: densify/container-optimization-data-forwarder:4
  • imagePullPolicy: Always

Updating the Image

  1. Update the image tag to "4".
  2. Ensure the imagePullPolicy is set to "Always"
  3. Once the tag is set to the current version and with the imagePullPolicy set to "Always" the data forwarder instances will be updated automatically, if the image is updated.