This is the dumbest toy application you've ever seen. The only goal of this project is to provide a contrived example K8s app that can be instrumented via OTEL auto-instrumentation. It's designed to work with the big-bang project and so the k8s manifests are hard-coded with values that match the defaults provided there. I've commented these values for alternative setups if necessary.
- Follow the applicable directions in Big Bang Quickstart.
- Provide the following as a values overlay:
addons: alloy: enabled: true # Disabling kyverno policies allows you to use cert-manager and otel-operator # installation manifests as-is kyvernoPolicies: enabled: false
-
Make sure
cert-manageris installed first, otherwise the otel operator won't be able to install its webhook configurations.-
cert-managercan be installed with the following:kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
-
-
Wait for all of
cert-managerto be ready:❯ kubectl get deployments -n cert-manager NAME READY UP-TO-DATE AVAILABLE AGE cert-manager 1/1 1 1 3h21m cert-manager-cainjector 1/1 1 1 3h21m cert-manager-webhook 1/1 1 1 3h21m
-
Install the otel operator:
kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/latest/download/opentelemetry-operator.yaml
-
Wait for the otel operator to be ready:
❯ kubectl get deployments -n opentelemetry-operator-system NAME READY UP-TO-DATE AVAILABLE AGE opentelemetry-operator-controller-manager 1/1 1 1 5h21m
-
Install the demo application:
kubectl apply -f https://raw.githubusercontent.com/theZMC/dodn/refs/heads/main/k8s/manifests.yml -n dodn
-
Navigate to your observability frontend (for bigbang with developer ingress certs, this is https://grafana.dev.bigbang.mil)