Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

v0.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@owais owais released this 13 Sep 12:32
· 89 commits to main since this release
c17af10

Getting started

1. Ensure Cert Manager is installed and available in your cluster

To install the operator in an existing cluster, make sure you have cert-manager installed and run:

2. Install the Operator

2.a Kubernetes

kubectl apply -f https://github.com/signalfx/splunk-otel-operator/releases/download/v0.0.1/splunk-otel-operator.yaml

2.b OpenShift

oc apply -f https://github.com/signalfx/splunk-otel-operator/releases/download/v0.0.1/splunk-otel-operator-openshift.yaml

3. Add your Splunk APM token

kubectl create secret generic splunk-access-token --namespace splunk-otel-operator-system --from-literal=access-token=SPLUNK_ACCESS_TOKEN

4. Deploy Splunk OpenTelemetry Connector

Once the splunk-otel--operator deployment is ready, create an Splunk OpenTelemetry Collector instance, like:

$ kubectl apply -f - <<EOF
apiVersion: splunk.com/v1alpha1
kind: SplunkOtelAgent
metadata:
  name: splunk-otel
  namespace: splunk-otel-operator-system
spec:
  clusterName: <MY_CLUSTER_NAME>
  splunkRealm: <SPLUNK_REALM>
EOF

Replace MY_CLUSTER_NAME and SPLUNK_REALM with your values.

WARNING: Until the OpenTelemetry Collector format is stable, changes may be required in the above example to remain
compatible with the latest version of the Splunk OpenTelemetry Operator and Splunk OpenTelemetry Connector.