You can deploy a YAML file containing telemetry export and exporter configurations to
transmit logs and metrics from Cloudera Data Services on premises to
external destinations. You can also create and deploy credential secrets to the
Observability namespace to authorize this configuration, and run a validation script to
confirm your OpenTelemetry pipeline connections.
You must upgrade to or install Cloudera Data Services on premises
1.5.5 SP3.
Workflow checklist
Prepare the required components before starting the configuration process:
Workflow component
Description
Verify Data Services version
Confirm your cluster runs Cloudera Data Services on premises 1.5.5 SP3.
Prepare configuration
Create a my-export.yaml patch file matching your target endpoint
environment.
Prepare credentials
Organize authentication credentials for your Kubernetes secret
setup.
Acquire script
Download the
configure-observability-pipeline.sh validation
script.
Create Your telemetry export patch file.
To establish how your cluster metrics and logs are delivered, define the
target endpoints in a patch file. Create a minimal
my-export.yaml file by running the following
command at your command prompt: cat <<EOF >
my-export.yaml You can use the below example as a reference:
Exporters require authentication and authorization details. You must create
and apply a generic Kubernetes secret to securely transmit these details to
the Observability namespace.
Secret reference:
This
reference configuration helps you to understand the format in which
you must base your secrets for the exporter.
The configure-observability-pipeline.sh script modifies your
environment by applying configuration changes directly against your custom
resources and validating connections to identify errors or review pod
restarts. Download and run the validation script from your command line:
my-export.yaml
Configuration examples:
The below are configuration examples. Provide your parameters at the command
prompt to configure telemetry export configuration:
Apply a telemetry export configuration:
configure-observability-pipeline.sh
--controlplane-namespace cdp --export-patch
my-export.yaml