tempo-operator

command module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

README

Grafana Tempo operator

This is a Kubernetes operator for Grafana Tempo.

Features

  • Resource Limits - Specify overall resource requests and limits in the TempoStack CR; the operator assigns fractions of it to each component
  • AuthN and AuthZ - Supports OpenID Control (OIDC) and role-based access control (RBAC)
  • Managed upgrades - Updating the operator will automatically update all managed Tempo clusters
  • Multitenancy - Multiple tenants can send traces to the same Tempo cluster
  • mTLS - Communication between the Tempo components can be secured via mTLS
  • Jaeger UI - Traces can be visualized in Jaeger UI and exposed via Ingress or OpenShift Route
  • Observability - The operator and TempoStack operands expose telemetry (metrics, traces) and integrate with Prometheus ServiceMonitor and PrometheusRule

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
  1. 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apis
config/v1alpha1
Package v1alpha1 contains API Schema definitions for the config.tempo v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the config.tempo v1alpha1 API group.
tempo/v1alpha1
Package v1alpha1 contains API Schema definitions for the tempo v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the tempo v1alpha1 API group.
cmd
controllers
internal
upgrade
The upgrade process in this package is based on opentelemetry-operator's upgrade process, licensed under the Apache License, Version 2.0.
The upgrade process in this package is based on opentelemetry-operator's upgrade process, licensed under the Apache License, Version 2.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL