helm

KLogs Viewer Helm Chart

Helm Version

This Helm chart deploys KLogs Viewer, a lightweight web application that allows users to view and download Kubernetes pod logs directly through their browser.

Features

Quick Start

Installation

Add the Helm repository and install the chart:

helm repo add rogosprojects https://rogosprojects.github.io/helm
helm repo update
# Simple installation with default values
helm install klogs-viewer rogosprojects/klogs-viewer
# Installation with custom values file
helm install klogs-viewer rogosprojects/klogs-viewer  --namespace observability --create-namespace --values values.yaml

Using with the chart source code:

# Clone the repository
git clone https://github.com/rogosprojects/helm.git
cd charts/klogs-viewer

# Install directly from the chart directory
helm install klogs-viewer . --namespace observability --create-namespace

Configuration

The following table lists the main configurable parameters of the chart and their default values.

Parameter Description Default
image.repository Container image repository rogosprojects/klogs-viewer
image.tag Container image tag latest
image.pullPolicy Container image pull policy IfNotPresent
image.pullSecrets List of image pull secrets []
watchAllNamespaces Watch all namespaces true
podLabels Comma-separated list of pod label selectors app=*
token Authentication token (leave empty to disable authentication) ""
ingress.className Ingress class name nginx
ALLOWED_ORIGINS Comma-separated list of allowed WebSocket origins ""

WebSocket Origin Restrictions

Security Considerations

For production deployments, we recommend:

  1. Enable Authentication: Set a strong token value
  2. Namespace Restriction: If not monitoring all namespaces, make

Troubleshooting

Common Issues

  1. No pods displayed
    • Verify the podLabels configuration matches your pod labels
    • Check RBAC permissions: the service account needs list/get access to pods
  2. Authentication errors
    • Verify the token is correctly set in both the secret and when accessing the UI

License

This chart is licensed under the MIT License. See the LICENSE file for details.