k8s-nextjs-deploy
Installation
SKILL.md
k8s-nextjs-deploy
Kubernetes deployment patterns for containerized Next.js apps: Harbor registry auth, Traefik ingress with automatic TLS, Linkerd sidecar injection, and multi-app namespace management.
When to use
- Deploying a new Next.js app (Deployment + Service + Ingress rule)
- Diagnosing
ImagePullBackOff,ErrImagePull,CreateContainerConfigError - Rotating Harbor pull secret credentials
- Adding a subdomain to an existing Traefik ingress with cert-manager
- Applying K8s manifests after a namespace was deleted
- Troubleshooting pods stuck because of missing
secretKeyRefsecrets
Do NOT use for:
- Non-Kubernetes deployments (Docker Compose, bare-metal, Vercel)
- Database deployments (stateful sets require separate skill)