Container Data Collection Prerequisites
Container Data Collection Prerequisites
#410140
Data Collection from an In-Cluster Prometheus Deployment
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 following software is required for Densify container data collection and optimization.
- Densify account—Contact Densify for details of your subscription or sign up for a free trial.
- Kubernetes or OpenShift must be deployed.
- Running cAdvisor as part of the kubelet provides the workload and configuration data required by Densify.
- kube-state-metrics—This service monitors the Kubernetes API server and generates metrics from the various objects inside the individual Kubernetes components. This service provides orchestration and cluster level metrics such as deployments, pod metrics, resource reservation, etc. The collected metrics allow Densify to get a complete picture of how your containers are setup i.e. Replica Sets, Deployments, Pod and Container Labels.
- Requires v1.5.0 or later. See additional considerations when using v2.x.
- https://github.com/kubernetes/kube-state-metrics
- Prometheus or supported observability platform—Collects metrics from configured targets at given intervals. It provides the monitoring/data aggregation layer. It must be deployed and configured to collect kube-state-metrics and cAdvisor/kubelet metrics. See additional considerations when using an observability platform.
- Node Exporter—This is an agent deployed on every node to collect data about the nodes, on which the containers are running. This provides host-related metrics such as CPU, memory, network, etc.
When deploying Prometheus and kube-state-metrics using a standard operator, some of the metrics that Densify needs for analysis may be excluded (i.e. on a deny list). Refer to Prometheus-Data for details of the list of metrics that Densify requires for analysis.
The following item is not mandatory but provides additional environment information for Densify's container optimization analysis, .
- Openshift-state-metrics—Expands upon kube-state-metrics by adding metrics for OpenShift-specific resources and provides additional details such as Cluster Resource Quotas (CRQ).
- The data forwarder is only supported on Linux OS and x64 architecture.
After deploying the data forwarder, contact [email protected] to enable your Densify instance with container optimization.