Recipes

Production-ready Kubernetes infrastructure templates and boilerplates

Browse our collection of infrastructure recipes. Each recipe is a tested, production-ready template that you can copy and customize for your needs.

Complete Solution

App

Simple application — Deployment + Service + Endpoint.

namenamespaceimage+12 more
Security & Identity

Auth

Identity and access management — Keycloak with database, TLS, and routing.

namehostnamespace+4 more
Security & Identity

Backup

Backup — scheduled cluster backups with Velero.

namenamespaceschedule+3 more
Recipes

CertManager

clusterIssuerdurationrenewBefore
Recipes

CertProvider

CertProvider — cluster-level certificate management. Sets up cert-manager for TLS certificates. All Endpoint/App children automatically get TLS certificates when tls prop is set.

providerchildren
Recipes

DatabaseBackup

Continuous + scheduled backup configuration for a dedicated CNPG cluster. Renders `spec.backup.barmanObjectStore` on the Cluster plus a ScheduledBackup resource. Backup is explicit opt-in — nothing renders unless this prop is set.

destinationPathendpointURLcredentialsSecret+4 more
Data & Analytics

Database

CloudNativePG PostgreSQL database.

namenamespaceinstances+8 more
Recipes

DnsProvider

DnsProvider — cluster-level DNS configuration. Sets up ExternalDNS with the specified provider and credentials. All Endpoint/App children automatically create DNS records.

providerchildren
Recipes

EndpointProvider

EndpointProvider — cluster-level routing configuration. Sets whether endpoints use nginx Ingress or Envoy Gateway (Gateway API). All Endpoint/App children read this context.

providerchildren
Networking

Endpoint

Endpoint — cluster-adaptive routing for a service.

hostserviceNameservicePort+5 more
Observability

Monitoring

Application monitoring — Prometheus ServiceMonitor for your app.

namenamespaceselector+5 more
Cluster Configuration

Platform

Platform — cluster-level configuration wrapper.

routinggatewayClassNamesharedGateway+6 more
Complete Solution

R8sCluster

R8sCluster — opinionated cluster foundation with all recommended operators.

secretsdnsgatewayClassName+5 more
Recipes

ManualSecrets

Recipes

SecretProvider

SecretProvider — cluster-level secrets backend. All Database, Auth, and other secret-consuming children use this backend. Automatically declares the required operator (VSO for vault/openbao).

providerchildren
Workloads

Web Service

Simple web service (backend or frontend).

namenamespaceimage+21 more

Looking for something else?

These recipes are built with r8s components. You can combine them, customize them, or create your own. Check out the Core Concepts to learn how to build custom recipes.