Containers Data Forwarder with Densify Operator
Containers Data Forwarder with Densify Operator
The Data Forwarder is an on-demand container that collects your container environment data from Kubernetes via Prometheus and forwards that data to Densify for analysis.
This topic shows you how to configure and deploy the Data Forwarder using the Densify Operator, which is currently supported on Red Hat Openshift. If you do not want to use the Densify Operator on Openshift, you can still deploy the Data Forwarder with YAML files. See Containers Data Forwarder with Authenticated Prometheus for YAML file deployment instructions.
Contact your Cloud Advisor for Densify credentials and to enable your Densify instance with container optimization after the Data Forwarder is deployed.
- Densify account— Contact Densify for details of your subscription or sign up for a free trial.
- kubelet with cAdvisor is required to provide workload data to Densify
- Requires v1.5.0 or later
The following items are not mandatory but provide additional environment information for Densify's container optimization analysis.
- Node Exporter—Collects data about the nodes, on which the containers are running. This provides the classical host-related metrics such as CPU, mem, network, etc.
Contact your Cloud Advisor or support@Densify.com for configuration details.
Note: The Data Forwarder is only supported on Linux OS and AMD64 architecture.
Deploying Data Forwarder for Data Collection
To deploy the Data Forwarder, you need to do the following from the Red Hat Openshift Container Platform console:
- Install the Densify Operator as an admin user. See Installing the Densify Operator.
Create the Densify Data Forwarder instance. See Deploying the Data Forwarder.
- Review the Data Forwarder pod processes, logs, cron job, and ensure that container metric data files were sent to your Densify instance. See Reviewing the Data Forwarder Pod.
To install an Operator, you will need admin privileges to the Red Hat Openshift Container Platform. Perform the following steps as an admin user:
- From the Red Hat Openshift Container Platform console, navigate to Operators > OperatorHub > Monitoring from the left menu.
- Select the Densify Operator tile. The Densify Operator details panel is displayed.
- Click Install. The Install Operator page is displayed.
- Select the following configuration values on the Install Operator page:
- Click Install. The Installed Operators page is displayed with the Densify Operator installation status.
All namespace on the cluster (default)
Select the namespace, or leave as:
Note: After the Densify Operator is installed, other users with operator access can see the Densify Operator under the Installed Operators page.
Red Hat Openshift Container Platform users are able to deploy the Densify Data Forwarder once the Densify Operator is installed.
- From the Red Hat Openshift Container Platform console, navigate to Operators > Installed Operators in the left menu.
- Click the Densify Operator link.
- From the Densify Operator tile in the Details tab, click Create Instance.
Configure the Densify Operator (i.e. Densify Data Forwarder) parameters in either the Form View or the YAML View. Both views have identical configuration parameters. Review the Table: Required Connectivity Parameters for the Data Forwarder table for a list of parameter descriptions required. If you want to change the default value of additional parameters, add the additional parameters in the Form View.
- Click the operator object link. The Densify Operator Overview page is displayed with conditions and pod status.
From the Densify Operator's Details tab, a description of the operator, prerequisites, basic installation instructions, configurations, contact and documentation links, and cluster version details are displayed.
The Create Densify page is displayed.
This action deploys and schedules the Densify Data Forwarder pod for data collection. This operation takes you back to the Densify Operator page, where the operator object is displayed.
You can click on the Resources tab to view the config map used for this pod.
Once the Densify Operator instance has been created, you can review the Data Forwarder pod status and check if your Densify instance has received the container metric data files.
- From the Red Hat Openshift Container Platform console, navigate to Workloads > Pods in the left menu.
- Click on the Densify pod link to review further details.
Details and status of pods are listed on this page. The name of the pod is a combination of name specified in the Create Instance page and the name identified in the config map.
- Click on the Details tab to review pod memory, CPU, disk, and network I/O usage.
- Click on the YAML tab to see the yaml files used for this pod.
- Click on the Logs tab to review the pod processing logs. The number of metric data files sent to your Densify instance should be displayed in the logs.
Details and schedule of cron jobs are listed on this page. The name of the Data Forwarder cron job displayed on this page is a combination of name specified in the Create Instance page and the name identified in the config map.
When the Data Forwarder pod completes successfully, contact your Cloud Advisor to enable your Densify instance with container optimization.