Skip to content
Snippets Groups Projects
Verified Commit caf401f4 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(koolbox): Add logcli to query loki

This patch adds logcli to koolbox. This allows to query the new loki
setup in the cluster after forwarding the gateway service using
`kubectl port-forward`. This help to debug applications with less
concern about logs and allows to query logs beyond the lifetime of an
individual Pod.
parent 0fc94838
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,16 @@ ENV SOPS_VERSION=${SOPS_VERSION} ...@@ -73,6 +73,16 @@ ENV SOPS_VERSION=${SOPS_VERSION}
RUN curl -L https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux > ./sops \ RUN curl -L https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux > ./sops \
&& install -o root -g root -m 0755 sops /usr/local/bin/sops && install -o root -g root -m 0755 sops /usr/local/bin/sops
# logcli cache
FROM registry.fedoraproject.org/fedora:35 as logcli
# renovate: datasource=github-releases depName=grafana/loki
ARG LOKI_VERSION=v2.6.1
ENV LOKI_VERSION=${LOKI_VERSION}
RUN curl -L https://github.com/grafana/loki/releases/download/${LOKI_VERSION}/logcli-linux-amd64.zip | gunzip - > ./logcli \
&& install -o root -g root -m 0755 logcli /usr/local/bin/logcli
# yq CLI cache # yq CLI cache
FROM registry.fedoraproject.org/fedora:35 as yq FROM registry.fedoraproject.org/fedora:35 as yq
...@@ -162,6 +172,7 @@ COPY --from=flux /usr/local/bin/flux /usr/local/bin/flux ...@@ -162,6 +172,7 @@ COPY --from=flux /usr/local/bin/flux /usr/local/bin/flux
COPY --from=kustomize /usr/local/bin/kustomize /usr/local/bin/kustomize COPY --from=kustomize /usr/local/bin/kustomize /usr/local/bin/kustomize
COPY --from=kubeval /usr/local/bin/kubeval /usr/local/bin/kubeval COPY --from=kubeval /usr/local/bin/kubeval /usr/local/bin/kubeval
COPY --from=sops /usr/local/bin/sops /usr/local/bin/sops COPY --from=sops /usr/local/bin/sops /usr/local/bin/sops
COPY --from=logcli /usr/local/bin/logcli /usr/local/bin/logcli
COPY --from=yq /usr/local/bin/yq /usr/local/bin/yq COPY --from=yq /usr/local/bin/yq /usr/local/bin/yq
COPY --from=kubectl-krew /opt/krew/krew /usr/local/bin/kubectl-krew COPY --from=kubectl-krew /opt/krew/krew /usr/local/bin/kubectl-krew
COPY --from=mdbook /usr/local/bin/mdbook /usr/local/bin/mdbook COPY --from=mdbook /usr/local/bin/mdbook /usr/local/bin/mdbook
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment