Skip to content

docs(cluster/addons): add Headlamp and KEDA reference pages#184

Merged
lucaiz merged 3 commits into
developfrom
docs/cluster-addons-headlamp-keda
May 20, 2026
Merged

docs(cluster/addons): add Headlamp and KEDA reference pages#184
lucaiz merged 3 commits into
developfrom
docs/cluster-addons-headlamp-keda

Conversation

@lucaiz
Copy link
Copy Markdown
Contributor

@lucaiz lucaiz commented May 20, 2026

Summary

Adds two cluster addon reference pages, EN + ES, following the existing kubecost.mdx / grafana.mdx pattern.

Headlamp (replaces empty stub)

  • Intro + architecture screenshot
  • :::info Beta admonition
  • FAQs: what / install / access flow / VPN requirement / token expiry / role-scoped RBAC / Custom Values

KEDA (new page)

  • Intro contrasting KEDA with the built-in HPA + official architecture diagram
  • :::info Beta admonition
  • FAQs: what & when / install / AWS Managed Policy Names walkthrough (the SleakOps-specific IRSA wiring) / two ScaledObject templates (SQS event-driven + CPU/memory HPA-style) explicitly noting that the manifests are user-defined / Custom Values

Screenshots

Captured from the local SleakOps console (prod profile) plus the official keda.sh architecture diagram. Filed under static/img/cluster/addons/{headlamp,keda}/.

Test plan

  • Render the docs site locally and confirm both pages appear in the cluster-addons sidebar
  • Click through every screenshot and verify the Zoom lightbox opens
  • Check that the YAML code blocks render with syntax highlighting on both EN and ES
  • Verify the <FiExternalLink/> icon shows on every external link

🤖 Generated with Claude Code

Summary by CodeRabbit

Notas de Lanzamiento

  • Documentation
    • Se ha ampliado y reorganizado la guía de Headlamp con secciones detalladas sobre instalación, acceso, requisitos de VPN, validez de tokens y personalización del despliegue.
    • Se ha incorporado documentación completa para el addon KEDA, incluyendo FAQs, configuración de permisos AWS, instrucciones de instalación y ejemplos de escalado de cargas de trabajo.
    • Ambos idiomas (inglés y español) han sido actualizados con contenido enriquecido y mejor estructura de navegación.

Review Change Stack

- Replace empty Headlamp stub with a full reference page (EN + ES)
  covering install, VPN-gated access, token rotation, role-scoped
  RBAC, and the customValues escape hatch
- Add new KEDA reference page (EN + ES) explaining event-driven
  autoscaling, the IRSA wiring via AWS Managed Policy Names, two
  ScaledObject templates (SQS + CPU/memory), and customValues
- Add screenshots under static/img/cluster/addons/{headlamp,keda}/
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

Warning

Rate limit exceeded

@lucaiz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 30 minutes and 55 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6d432586-59c8-41b3-8e2b-537bcb5a1d5b

📥 Commits

Reviewing files that changed from the base of the PR and between 5142728 and 0e61a39.

📒 Files selected for processing (11)
  • content/changelog/en/2026-04-28-version-2.9.0.md
  • content/changelog/en/2026-05-13-version-2.10.0.md
  • content/changelog/es/2026-04-28-version-2.9.0.md
  • content/changelog/es/2026-05-13-version-2.10.0.md
  • content/docs/en/cluster/addons/keda.mdx
  • content/docs/es/cluster/addons/keda.mdx
  • content/tutorials/en/environment-exhaustive-testing-guide.mdx
  • content/tutorials/en/how-to-set-up-vpc-peering-between-aws-and-mongodb-atlas.mdx
  • content/tutorials/es/environment-exhaustive-testing-guide.mdx
  • content/tutorials/es/how-to-set-up-vpc-peering-between-aws-and-mongodb-atlas.mdx
  • src/data/tutorials-generated.json

Walkthrough

Se expande la documentación del addon Headlamp reemplazando contenido embebido por guías FAQ estructuradas. Se introduce documentación nueva y completa del addon KEDA, con instrucciones de instalación, configuración de permisos AWS, ejemplos de escalado de workloads, y opciones de personalización. Ambos addons se documentan en paralelo en inglés y español.

Changes

Documentación de AddOns: Headlamp y KEDA

Layer / File(s) Summary
Guía completa de Headlamp (EN + ES)
content/docs/en/cluster/addons/headlamp.mdx, content/docs/es/cluster/addons/headlamp.mdx
Headlamp evoluciona de un embebido Supademo a una guía FAQ estructurada: metadatos actualizados (sidebar_position: 5), imports de componentes visuales (Zoom, FiExternalLink), y secciones sobre qué es/cuándo usarlo, instalación, acceso (VPN + token + dashboard), requisitos de VPN, validez de tokens, acceso basado en roles y personalización mediante Enable Custom Values. Estructura y contenido se replican en inglés y español para coherencia informativa.
Guía completa de KEDA (EN + ES)
content/docs/en/cluster/addons/keda.mdx, content/docs/es/cluster/addons/keda.mdx
Se introduce documentación nueva de KEDA cubriendo: descripción y casos de uso (escalado basado en señales externas), instalación desde consola de SleakOps, configuración de AWS Managed Policy Names con tabla de políticas de solo lectura, ejemplos prácticos de escalado con ScaledObject (patrón SQS con TriggerAuthentication e IRSA, patrón HPA con triggers CPU/memoria), y personalización mediante Enable Custom Values. Contenidos paralelos en inglés y español con advertencias sobre configuración segura.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested reviewers

  • karim090
  • agustinoli

Poem

📚 Documentación a las piñas,
Headlamp y KEDA brillan al fin,
FAQs estructuradas, sin conflictos en la grieta,
EN y ES caminan juntas en la piñeta,
SleakOps ordena el caos con el corazón 🍍

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed El título describe con precisión el cambio principal: agrega páginas de referencia para dos addons de cluster (Headlamp y KEDA) en inglés y español.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/cluster-addons-headlamp-keda

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@content/docs/en/cluster/addons/keda.mdx`:
- Line 4: Reemplaza el valor nulo de sidebar_position en keda.mdx por un número
fijo para fijar su lugar en la navegación; busca la clave sidebar_position en
keda.mdx y asigna un entero estable (por ejemplo el siguiente número después de
la entrada "Headlamp", p. ej. 5) en lugar de null para asegurar orden
consistente en el sidebar.
- Line 12: Actualiza las afirmaciones sobre HPA en el texto que comienza con
"[KEDA <FiExternalLink/>]..." (la frase que actualmente dice "Kubernetes'
built-in HPA can only scale on CPU and memory of the Pods themselves") y la otra
instancia similar en la sección alrededor de la línea 40: reemplaza "can only
scale on CPU and memory" por una versión precisa como "by default scales on CPU
and memory" o "without external/custom metrics configured, HPA scales on CPU and
memory", para indicar que HPA puede usar métricas externas/custom mediante
adaptadores; aplica el mismo texto corregido en ambas ocurrencias.

In `@content/docs/es/cluster/addons/keda.mdx`:
- Line 4: El frontmatter usa `sidebar_position: null`, lo que genera un orden no
determinista; reemplaza `sidebar_position: null` por un valor numérico explícito
(por ejemplo `sidebar_position: 10`) en este archivo y asegúrate de asignar
posiciones consistentes entre los archivos de addons y sus traducciones para
mantener el mismo orden en todos los idiomas; busca la clave `sidebar_position`
en `keda.mdx` y actualizar su valor numérico coherente con el resto de addons.
- Line 12: Update the wording in content/docs/es/cluster/addons/keda.mdx where
HPA is described (references around the text on line 12 and line 40) to avoid
saying the native HPA "solo" scales by CPU and memory; instead state that the
Kubernetes HPA by default uses pod CPU/memory metrics but can also consume
external or custom metrics via metrics adapters, and clarify that KEDA queries
external sources to drive scaling (including scaling to zero). Modify the two
sentences mentioning HPA to this nuanced phrasing so the guide is accurate and
not overgeneralized.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3f2ddc09-7999-47d7-b47a-f6930a46afa5

📥 Commits

Reviewing files that changed from the base of the PR and between 677a1f0 and 5142728.

⛔ Files ignored due to path filters (10)
  • static/img/cluster/addons/headlamp/headlamp-detail.png is excluded by !**/*.png
  • static/img/cluster/addons/headlamp/headlamp-install-form.png is excluded by !**/*.png
  • static/img/cluster/addons/headlamp/headlamp-installed-card.png is excluded by !**/*.png
  • static/img/cluster/addons/headlamp/headlamp-token-dialog.png is excluded by !**/*.png
  • static/img/cluster/addons/headlamp/headlamp-ui.png is excluded by !**/*.png
  • static/img/cluster/addons/keda/keda-addons-listing.png is excluded by !**/*.png
  • static/img/cluster/addons/keda/keda-architecture.png is excluded by !**/*.png
  • static/img/cluster/addons/keda/keda-install-form-customvalues.png is excluded by !**/*.png
  • static/img/cluster/addons/keda/keda-install-form-default.png is excluded by !**/*.png
  • static/img/cluster/addons/keda/keda-install-form-policies.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • content/docs/en/cluster/addons/headlamp.mdx
  • content/docs/en/cluster/addons/keda.mdx
  • content/docs/es/cluster/addons/headlamp.mdx
  • content/docs/es/cluster/addons/keda.mdx

Comment thread content/docs/en/cluster/addons/keda.mdx Outdated

# KEDA

[KEDA <FiExternalLink/>](https://keda.sh/docs/2.19/) — **K**ubernetes-based **E**vent-**D**riven **A**utoscaler — is an Addon that lets workloads in your Cluster scale based on **external signals**: the depth of an SQS queue, the lag of a Kafka consumer group, a CloudWatch alarm, the number of pending Redis keys, the count of rows in a database, and dozens more. Where Kubernetes' built-in HPA can only scale on CPU and memory of the Pods themselves, KEDA reaches outside the Cluster, asks the source how much work is waiting, and scales the workload accordingly — including down to **zero replicas** when there is nothing to do.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Corrige la afirmación sobre límites de HPA para evitar documentación técnicamente incorrecta.

En la Line 12 y la Line 40 se afirma que HPA “solo” escala por CPU/memoria. Eso no es exacto: HPA también puede escalar con métricas custom/external cuando hay adapter. Ajustá el texto a “por defecto” o “sin métricas externas configuradas” para no confundir a quien lo implemente.

💡 Propuesta de ajuste rápida
-Where Kubernetes' built-in HPA can only scale on CPU and memory of the Pods themselves, KEDA reaches outside the Cluster...
+Where Kubernetes' built-in HPA typically scales on CPU and memory out of the box (and needs extra metric adapters for external/custom metrics), KEDA reaches outside the Cluster...

-When you only need to scale on the Pod's own CPU/memory, the built-in HPA is enough...
+When you only need CPU/memory scaling, the built-in HPA is usually enough...

Also applies to: 40-40

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/docs/en/cluster/addons/keda.mdx` at line 12, Actualiza las
afirmaciones sobre HPA en el texto que comienza con "[KEDA
<FiExternalLink/>]..." (la frase que actualmente dice "Kubernetes' built-in HPA
can only scale on CPU and memory of the Pods themselves") y la otra instancia
similar en la sección alrededor de la línea 40: reemplaza "can only scale on CPU
and memory" por una versión precisa como "by default scales on CPU and memory" o
"without external/custom metrics configured, HPA scales on CPU and memory", para
indicar que HPA puede usar métricas externas/custom mediante adaptadores; aplica
el mismo texto corregido en ambas ocurrencias.

Comment thread content/docs/es/cluster/addons/keda.mdx Outdated

# KEDA

[KEDA <FiExternalLink/>](https://keda.sh/docs/2.19/) — **K**ubernetes-based **E**vent-**D**riven **A**utoscaler — es un Addon que permite escalar workloads de tu Clúster en base a **señales externas**: la cantidad de mensajes en una cola SQS, el lag de un consumer group de Kafka, una alarma de CloudWatch, la cantidad de claves pendientes en Redis, el número de filas en una base de datos, y decenas más. Mientras que el HPA nativo de Kubernetes solo escala según CPU y memoria de los Pods, KEDA consulta la fuente externa, pregunta cuánto trabajo está pendiente, y escala el workload acorde — incluso bajando a **cero réplicas** cuando no hay nada para procesar.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Ajustá la explicación de HPA porque está sobregeneralizada.

En la Line 12 y la Line 40 se dice que el HPA nativo “solo” escala por CPU/memoria. Eso queda técnicamente incorrecto: con adapter, HPA también puede usar métricas externas/custom. Mejor matizar esa frase para que la guía no lleve a conclusiones erróneas.

💡 Propuesta de redacción
-Mientras que el HPA nativo de Kubernetes solo escala según CPU y memoria de los Pods...
+Mientras que el HPA nativo de Kubernetes escala por CPU y memoria por defecto (y requiere adapters para métricas externas/custom)...

-Si solo necesitás escalar por CPU/memoria del Pod, el HPA nativo es suficiente...
+Si solo necesitás escalar por CPU/memoria del Pod, el HPA nativo suele ser suficiente...

Also applies to: 40-40

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/docs/es/cluster/addons/keda.mdx` at line 12, Update the wording in
content/docs/es/cluster/addons/keda.mdx where HPA is described (references
around the text on line 12 and line 40) to avoid saying the native HPA "solo"
scales by CPU and memory; instead state that the Kubernetes HPA by default uses
pod CPU/memory metrics but can also consume external or custom metrics via
metrics adapters, and clarify that KEDA queries external sources to drive
scaling (including scaling to zero). Modify the two sentences mentioning HPA to
this nuanced phrasing so the guide is accurate and not overgeneralized.

@lucaiz lucaiz merged commit 5c208da into develop May 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant