Uploaded image for project: 'Observability and Data Analysis Program'
  1. Observability and Data Analysis Program
  2. OBSDA-1077

Binary inside Loki pods to manage Loki allowing to do POST and GETs to Loki URLs

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • Logging 5.8, Logging 5.9, Logging 6.0, Logging 6.1
    • Log Storage, PM Logging
    • False
    • None
    • False
    • Not Selected
    • 0

      Proposed title of this feature request

      Binary inside Loki pods to manage Loki allowing to do POST and GETs to Loki URLs

      What is the nature and description of the request?

      With the change of the base image in Loki, the curl command is not anymore present making easy administration/troubleshooting tasks as:

      • Reviewing the Loki health
      • Removing an ingester from the ring
      • Scale up/down the ingesters as documented [0]

      In a tedious and consuming time task prone to errors.

      Why does the user need this? (List the business requirements)

      Agile administration tasks making them more scriptable and less prone to errors added to less consuming time as the steps are reduced.

      Currently, the only way of doing these administrative past go through start a pod with a different image and from this new pod run the commands similar to:

      $ oc -n [namespace_name] debug --image=registry.redhat.io/ubi8:latest deployment/logging-loki-distributor
      
      sh-4.4$ curl -k --cert /var/run/tls/http/server/tls.crt --key /var/run/tls/http/server/tls.key  https://${LOGGING_LOKI_DISTRIBUTOR_HTTP_PORT_3100_TCP_ADDR}:3100/ring -H "Accept: application/json"  

      List any affected packages or components.

      Loki pods

      [0]https://grafana.com/docs/loki/latest/operations/storage/wal/#how-to-scale-updown

              jamparke@redhat.com Jamie Parker
              rhn-support-ocasalsa Oscar Casal Sanchez
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: