Skip to content

Guide: How to write titles

Naming convention for titles, tags and aliases so search finds things when I'm stuck.

Index
  • #guide
  • #search
Updated

Also:naming convention · title format · how to name pages · frontmatter · prefixes

Search is only as good as the titles. Every page and command follows one format, and npm run lint:content fails the build if it doesn’t.

<Type or Tool>: <Verb> <object> (<context>)
  1. Start with the type or tool prefix. Results then group nicely and I can tell what a hit is before opening it.
  2. Use the verb I’d actually search: check, fix, deploy, rollback, restart, clean, rotate, debug, follow, find.
  3. Include the symptom or error words I’d type when stuck: CrashLoopBackOff, disk full, state lock.
  4. Keep it under ~70 characters. Details go in the body, exact error messages go in aliases.
Type Prefix Example
Command tool name Kubernetes: Follow logs of a pod, Docker: Remove dangling images
Runbook Runbook: Runbook: Fix pod stuck in CrashLoopBackOff
Incident Incident YYYY-MM-DD: Incident 2026-11-20: Disk full on Jenkins agent
Gotcha Gotcha: Gotcha: Terraform state lock not released
How-to How-to: How-to: Rotate AWS IAM access keys
Note Note: Note: Prod cluster network layout

Command tool prefixes (from src/lib/taxonomy.mjs; add a tool there to get a new prefix):

Linux:Ubuntu:Amazon Linux 2:RHEL / AL2023:SUSE:Git:Docker:Podman:Kubernetes:OpenShift:AWS:Azure:GCP:Terraform:Ansible:Helm:GitHub Actions:GitLab CI:Jenkins:Prometheus:Grafana:Elasticsearch:Trivy:SonarQube:Vault:Istio:Linkerd:Consul:Envoy:

Navigation pages (tool pages, task views, indexes, guides) use type: hub and the prefixes Commands:, Task:, Index:, Guide:, Cheat sheet:, Glossary:.

✗ Avoid ✓ Better Why
Pod issue Runbook: Fix pod stuck in CrashLoopBackOff prefix + verb + the error word
kubectl logs Kubernetes: Follow logs of a pod describes the goal, not the syntax
Outage last Tuesday Incident 2026-11-20: Disk full on Jenkins agent sortable date + what broke
Terraform notes Gotcha: Terraform state lock not released one lesson per page, searchable symptom
How-to: Rotate AWS IAM access keys for the CI user when Security Hub flags them as older than 90 days How-to: Rotate AWS IAM access keys details go in the body
---
title: "Runbook: Fix pod stuck in CrashLoopBackOff" # follows the format
type: runbook # command | runbook | incident | gotcha | howto | note
tags: [kubernetes, debug, logs] # lowercase: tool + task
aliases: [CrashLoopBackOff, "Back-off restarting failed container", k8s]
created: 2026-11-18 # drives "Recently added"
---
  • tags: lowercase kebab-case. Use the tool (kubernetes, terraform …) plus a task tag: logs, deploy, debug, access, cleanup. Task tags put a command on the matching task view. Extra tags (disk, network, rollback) are fine.
  • aliases: what I might type instead of the title.
    • abbreviations: k8s, tf, gha
    • old or alternative names: kubectx, netstat
    • exact error messages: ImagePullBackOff, no space left on device, Error acquiring the state lock

Search (Ctrl+K / ⌘+K) is Pagefind. Titles and aliases get the highest weight (10), tags get 5 and body text the default. Each result shows the title (with its type prefix) and the tags. Command cards appear as sub-results of their tool page, so a search for crashloop finds both the runbook and the --previous logs command.

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…