grafana / tempo-operator

Grafana Tempo Kubernetes operator
https://grafana.com/docs/tempo/latest/setup/operator/
GNU Affero General Public License v3.0
55 stars 27 forks source link
distributed-tracing grafana jaeger jaegertracing observability opentelemetry zipkin

Grafana Tempo operator

This is a Kubernetes operator for Grafana Tempo.

Features

Documentation

Deploy

  1. Install cert-manager and minio: make cert-manager deploy-minio

  2. Build and deploy operator:

IMG_PREFIX=docker.io/${USER} OPERATOR_VERSION=$(date +%s).0.0 make docker-build docker-push deploy
  1. Create a secret for minio in the namespace you are using:
    kubectl apply -f - <<EOF
    apiVersion: v1
    kind: Secret
    metadata:
    name: minio-test
    stringData:
    endpoint: http://minio.minio.svc:9000
    bucket: tempo
    access_key_id: tempo
    access_key_secret: supersecret
    type: Opaque
    EOF
  2. Create Tempo CR:
kubectl apply -f - <<EOF
apiVersion: tempo.grafana.com/v1alpha1
kind: TempoStack
metadata:
  name: simplest
spec:
  storage:
    secret:
      name: minio-test
      type: s3
  storageSize: 1Gi
  resources:
    total:
      limits:
        memory: 2Gi
        cpu: 2000m
  template:
    queryFrontend:
      jaegerQuery:
        enabled: true
EOF

Community