Supported environments and distributions
The CXDOT Collector supports Kubernetes clusters running in a Linux environment with either x86_64 (AMD64) or ARM64 architecture. The following Kubernetes distributions are supported:- Upstream Kubernetes (self-managed or on-premises)
- Amazon EKS
- Google GKE
- Azure AKS
Prerequisites
Before installing the CXDOT Collector in a Kubernetes cluster, you must meet these prerequisites:- Your Kubernetes cluster must use Kubernetes version 1.31 or later.
- You must have Helm version 3.8 or later installed.
- You must have an API token from a restricted service account with a write-only scope.
Install
To install the CXDOT Collector in a Kubernetes cluster, follow these steps.-
Run the following kubectl command to create the
cxdotnamespace: -
Set the name of your Cortex XCOR tenant by adding the following keys to your Helm
values file:
Replace the following values:values.yaml
CLUSTER: The name of the cluster where you’re installing the CXDOT Collector. This value gets added to your telemetry data as thek8s.cluster.nameresource attribute.
-
Set your API token by creating a
Kubernetes Secret
named
cxdot-api-tokenwith the following contents:ReplaceTOKENwith your base64-encoded Cortex XCOR API token.Alternatively, you can reference an existing Kubernetes Secret by supplying it to Helm as the value ofconfig.apiToken. If you use this method, don’t encode the value of your API token. -
Run the following Helm command to install the CXDOT Collector in your
Kubernetes cluster:
Replace
VERSIONwith the version of the CXDOT Collector to use (for example,1.4.0+otel-0.157.0). -
Run the following
kubectlcommand to verify that the CXDOT Collector was installed successfully:Confirm that the output returns a list of resources that includesds/cxdot-node-collector,deploy/cxdot-api-server, anddeploy/cxdot-cluster-collector. These are components of the CXDOT Collector.
Upgrade
To upgrade the CXDOT Collector to a new version, or after updating configuration settings in your Helm values file, run the following command:VERSION with the version of the CXDOT Collector to use (for example,
1.4.0+otel-0.157.0).
Uninstall
To uninstall the CXDOT Collector, follow these steps.-
Run the following Helm command to uninstall the components of the CXDOT
Collector:
-
Run the following kubectl command to delete the namespace associated with
the CXDOT Collector: