Lumigo Kubernetes Operator
The best way to monitor Kubernetes applications with Lumigo
The distributed tracing of Node.js and Python applications running on Amazon EKS or other flavors of Kubernetes is entirely automated via the Lumigo Kubernetes operator (on ArtifactHub).
Using the Lumigo Kubernetes operator is as simple as:
- Install the Lumigo Kubernetes operator on your cluster via Helm
helm repo add lumigo https://lumigo-io.github.io/lumigo-kubernetes-operator
helm install lumigo lumigo/lumigo-operator --namespace lumigo-system --create-namespace
- Create a Kubernetes secret containing the Lumigo Token, and a
Lumigo
resource pointing to it:
Important note
Don't create the secret and the custom resource in
lumigo-system
. Instead, create them in the namespace that contains the application you wish to onboard to Lumigo.
apiVersion: v1
kind: Secret
metadata:
name: lumigo-credentials
stringData:
token: YOUR_LUMIGO_TOKEN # Example: t_123456789012345678901
---
apiVersion: operator.lumigo.io/v1alpha1
kind: Lumigo
metadata:
labels:
app.kubernetes.io/name: lumigo
app.kubernetes.io/instance: lumigo
app.kubernetes.io/part-of: lumigo-operator
name: lumigo
spec:
lumigoToken:
secretRef:
name: lumigo-credentials # This must match the name of the secret; the secret must be in the same namespace as this Lumigo custom resource
key: token # This must match the key in the Kubernetes secret
Change YOUR_LUMIGO_TOKEN
to the Lumigo Token of your project.
The Lumigo Kubernetes operator will update your deployments, daemonsets, replicasets, statefulsets, cronjobs and jobs to be traced with the Lumigo OpenTelemetry Distro for Node.js and Lumigo OpenTelemetry Distro for Python.
More detailed instructions are available in the Lumigo Kubernetes operator repository on GitHub.
Updated 4 months ago