The K8s Monitoring App is a unified system for monitoring and alerting of Kubernetes clusters.
About this chart
K8s Monitoring App Helm Chart
Um Helm Chart para implantar o K8s Monitoring App em Kubernetes, com coleta automática de métricas de aplicações e recursos do cluster, autenticação via Google OAuth 2.0 e alertas opcionais via Slack.
Description
O K8s Monitoring App é uma aplicação nativa de Kubernetes que coleta métricas (pods, CPU, memória, PVC, nós, health checks HTTP) e armazena em SQLite. A autenticação pode ser habilitada via Google OAuth 2.0 com restrição por domínio, e alertas podem ser enviados via Slack.
Features
✅ Coleta automática de métricas com intervalo configurável
✅ Vários tipos de métricas: saúde HTTP, pods, CPU, memória, PVC e nós
✅ Monitoramento de conexões: Redis, PostgreSQL, MongoDB, MySQL e Kong
✅ Armazenamento em SQLite (arquivo)
✅ Autenticação Google OAuth 2.0 (restrição por domínio)
✅ RBAC e ServiceAccount opcionais
✅ Web UI com atualização automática
Installation
Prerequisites
Kubernetes >= 1.27
Helm >= 3.0
metrics-server instalado no cluster
Credenciais Google OAuth 2.0 (se autenticação estiver habilitada)
Install the Chart
# Adicionar repositório (se aplicável)
helm repo add cloudscript https://charts.cloudscript.technology
helm repo update
# Instalar a partir do repositório
helm install k8s-monitoring-app cloudscript/k8s-monitoring-app -f values.yaml
# OU instalar localmente a partir do diretório do chart
helm install k8s-monitoring-app . -n monitoring --create-namespace
O aplicativo usa SQLite (DB_PATH). Para persistência, monte um PVC em um caminho (ex.: /data) e aponte config.database.path para esse local. Este chart não cria PVC automaticamente.
image.tag: usa .Chart.AppVersion por padrão (ex.: v0.0.1)
image.pullPolicy: IfNotPresent
Notes
Certifique‑se de ter o metrics-server funcional para métricas de CPU/memória.
Ajuste config.metrics.collectionInterval conforme sua necessidade.
Habilite Ingress para expor o UI externamente, ou use kubectl port-forward para acesso local.
Deploy k8s-monitoring-app with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has k8s-monitoring-app on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
Place the chartk8s-monitoring-app is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply