apiVersion: apps/v1
kind: StatefulSet
metadata:
  labels:
    app.kubernetes.io/component: ingester
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: tempo-distributed
    app.kubernetes.io/version: 1.3.0
    helm.sh/chart: tempo-distributed-0.15.1
  name: RELEASE-NAME-tempo-distributed-ingester
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/component: ingester
      app.kubernetes.io/instance: RELEASE-NAME
      app.kubernetes.io/name: tempo-distributed
  serviceName: ingester
  template:
    metadata:
      annotations:
        checksum/config: c1ce0c311fa6ba4acd7956860b77ddcc7eceb0eac944e717f918579117b570a5
      labels:
        app.kubernetes.io/component: ingester
        app.kubernetes.io/instance: RELEASE-NAME
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/name: tempo-distributed
        app.kubernetes.io/version: 1.3.0
        helm.sh/chart: tempo-distributed-0.15.1
        tempo-gossip-member: "true"
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchLabels:
                  app.kubernetes.io/component: ingester
                  app.kubernetes.io/instance: RELEASE-NAME
                  app.kubernetes.io/name: tempo-distributed
              topologyKey: failure-domain.beta.kubernetes.io/zone
            weight: 100
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchLabels:
                app.kubernetes.io/component: ingester
                app.kubernetes.io/instance: RELEASE-NAME
                app.kubernetes.io/name: tempo-distributed
            topologyKey: kubernetes.io/hostname
      containers:
      - args:
        - -target=ingester
        - -config.file=/conf/tempo.yaml
        - -mem-ballast-size-mbs=1024
        image: docker.io/grafana/tempo:1.3.0
        imagePullPolicy: IfNotPresent
        name: ingester
        ports:
        - containerPort: 9095
          name: grpc
        - containerPort: 7946
          name: http-memberlist
        - containerPort: 3100
          name: http
        readinessProbe:
          httpGet:
            path: /ready
            port: http
          initialDelaySeconds: 30
          timeoutSeconds: 1
        resources: {}
        volumeMounts:
        - mountPath: /conf
          name: tempo-conf
        - mountPath: /var/tempo
          name: data
      serviceAccountName: RELEASE-NAME-tempo-distributed
      volumes:
      - configMap:
          name: RELEASE-NAME-tempo-distributed
        name: tempo-conf
      - emptyDir: {}
        name: data
  updateStrategy:
    type: RollingUpdate
