Commit bd17f1e4 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

thanos query static store config + shipper upload-compacted sample config

parent 51a18a19
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -2104,7 +2104,16 @@ prometheus:

    ## Containers allows injecting additional containers. This is meant to allow adding an authentication proxy to a Prometheus pod.
    ##  if using proxy extraContainer  update targetPort with proxy container port
    containers: []
    # containers: []
    # containers:
    #   - name: thanos-sidecar
    #     args:
    #       - "sidecar"
    #       - "--shipper.upload-compacted"
    #       - "--objstore.config=$(OBJSTORE_CONFIG)"
    #       - "--tsdb.path=/prometheus"
    #       - "--log.level=info"
    #       - "--log.format=logfmt"

    ## InitContainers allows injecting additional initContainers. This is meant to allow doing some changes
    ## (permissions, dir tree) on mounted volumes before starting prometheus
+4 −3
Original line number Diff line number Diff line
@@ -110,10 +110,10 @@ query:
  ## Dynamically configure store APIs using DNS discovery
  ##
  dnsDiscovery:
    enabled: true
    enabled: false
    ## Sidecars service name to discover them using DNS discovery
    ## Evaluated as a template.
    sidecarsService: "meep-prometheus-thanos-discovery"
    # sidecarsService: "{{ .Release.Namespace }}-prometheus-thanos"
    ##
    ## Sidecars namespace to discover them using DNS discovery
    ## Evaluated as a template.
@@ -121,7 +121,8 @@ query:

  ## Statically configure store APIs to connect with Thanos Query
  ##
  stores: []
  stores:
    - "dnssrv+_grpc._tcp.meep-prometheus-thanos-discovery.default.svc.cluster.local"

  ## Query Service Discovery Configuration
  ## Specify content for servicediscovery.yml