This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
0.0.3
Upgrading from 0.0.1
This version is not compatible with the previous 0.0.1 release. Please remove the previous installation completely before installing v0.0.3.
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.3/splunk-otel-operator.yaml
2.b OpenShift
oc apply -f https://github.com/signalfx/splunk-otel-operator/releases/download/v0.0.3/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-controller-manager
deployment is ready, install the Splunk Otel Agent as follows:
$ kubectl apply -f - <<EOF
apiVersion: otel.splunk.com/v1alpha1
kind: Agent
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.