Install the EKS add-on without secure token handling

Deploy the Splunk Distribution of the OpenTelemetry Collector Amazon EKS add-on onto an Amazon EKS cluster by storing tokens in the EKS add-on configuration.

You can install the EKS add-on without deploying a Kubernetes Secret.

Warning: This installation method stores the Splunk access token or HEC token in the EKS add-on configuration. The configuration can be viewed through the Amazon EKS API and AWS console. Use the secure token handling procedure for production deployments.
Prepare a YAML file tailored to your Splunk setup as follows.
Note: For more specific configuration information, see Install the Collector for Kubernetes using Helm.
Splunk Observability Cloud
YAML
splunkObservability:
  accessToken: your-splunk-access-token
  realm: your-splunk-realm

clusterName: your-eks-cluster-name
cloudProvider: aws
distribution: eks

Replace your-splunk-access-token and your-splunk-realm with your Splunk Observability Cloud access token and realm. Replace your-eks-cluster-name with your EKS cluster name.

Splunk platform

For the Splunk platform, create a splunkObservability section, but set splunkObservability.accessToken and splunkObservability.realm to empty strings as in the following example.

YAML
splunkPlatform:
  endpoint: https://your-splunk-host:8088/services/collector/event
  token: your-hec-token

clusterName: your-eks-cluster-name
cloudProvider: aws
distribution: eks

splunkObservability:
  accessToken: ""
  realm: ""

Replace your-splunk-host with a Splunk HEC endpoint that is reachable from the EKS worker nodes. Replace your-hec-token with your HEC token, and replace your-eks-cluster-name with your EKS cluster name.