Kubernetes Templates
Browse our collection of pre-built Kubernetes templates to quickly deploy your applications.

Headless CMS - Strapi-Next.js Kubernetes Template
97 usesThis ready-to-deploy Kubernetes template provides a complete full-stack blog platform combining Strapi CMS backend with Next.js frontend, ready for immediate Strapi deployment for a headless CMS.
## What This Template Creates for Your Kubernetes Deployment
This Strapi self-hosted template simplifies your setup, removing the need for complex manual configuration.
### Backend Infrastructure:
- **Strapi CMS (port 1337)** - A Headless CMS for blog content creation and API endpoints. The port is pre-configured, so you don't need to manually change strapi port.
- **ClusterIP service** for internal backend connectivity.
### Frontend Application:
- **Next.js Blog Frontend (port 3000)** - Modern React-based blog interface for content display.
- **ClusterIP service** for internal frontend connectivity.
### Smart Routing:
**Ingress Controller with path-based routing:**
- `/admin` → Strapi admin interface for content management and
- `/` → Next.js frontend for public blog access.
This configuration automates a typical Kubernetes NextJS setup.
## Key Features for Strapi & Next.js Deployment
✅ **Production-Ready:** Complete application stack with proper service isolation.
✅ **Development-Friendly:** Uses local Docker images with imagePullPolicy: Never.
✅ **Scalable Architecture:** Kubernetes deployments enable easy horizontal scaling.
✅ **Smart Routing:** Single entry point with intelligent path-based traffic distribution.
✅ **Modern Stack:** Combines headless CMS flexibility with React performance.
## Perfect For
- Content Creators wanting a modern, manageable blog platform.
- Developers learning full-stack Kubernetes deployments.
- Teams needing separation between content management and presentation.
- Projects requiring scalable, cloud-native blog infrastructure.
## Prerequisites & Deployment
- Kubernetes cluster (Docker Desktop/Minikube)
- NGINX Ingress Controlle
strapikubernetesCMS+1 more

Deploying Your Production Blog - Next.js, Strapi, Database and ConfigMaps
121 uses# Deploying Your Production Blog - Next.js, Strapi, Database and ConfigMaps
## The Kubernetes Manifests Guide
This template covers essential Kubernetes YAML manifests for a production-ready Strapi + Next.js blog platform. It's the ultimate guide for a production Kubernetes setup.
## Key Components for Your Next.js Kubernetes Deployment
- **PostgreSQL StatefulSet:** Provides a stable Kubernetes database with 10Gi persistent storage, health probes, and resource limits (256Mi-512Mi memory).
- **Services:** Headless service for StatefulSet identity management + ClusterIP for application access.
- **Configuration:** A Kubernetes ConfigMap stores non-sensitive data (host, port), and a Secret manages credentials securely with base64 encoding.
- **Storage:** Volume claim templates for the PostgreSQL database, a 10Gi PVC for media uploads, and 20Gi for backups.
- **Security:** Let's Encrypt ClusterIssuer automates TLS certificates, while Ingress handles HTTPS termination and routing for a secure Strapi deployment.
- **Scaling:** HPA auto-scales based on CPU (70%) and memory (80%) utilization with proper resource requests/limits.
- **Backups:** A CronJob performs daily PostgreSQL backups at 2 AM with 7-day retention and gzip compression.
strapipostgresqlhorizontalpodscaling

High-Availability WordPress Template for Deployment on Kubernetes
93 uses# High-Availability WordPress on Kubernetes - Complete Template
Deploy a production-ready, scalable WordPress platform on Kubernetes with this comprehensive template. This single YAML file contains all the necessary manifests to run a high-availability WordPress setup with MySQL database, auto-scaling, SSL termination, and automated backups.
## What's Included:
**Core Infrastructure:**
- **MySQL StatefulSet** with persistent storage and health checks
- **WordPress Deployment** with 3 replicas for high availability
- **ConfigMaps and Secrets** for secure configuration management
- **Services** for internal communication and load balancing
**Production Features:**
- **SSL/TLS termination** with Let's Encrypt certificate management
- **Ingress controller** integration for external access
- **Horizontal Pod Autoscaler (HPA)** for automatic scaling based on CPU/memory
- **Resource limits and requests** for optimal resource allocation
- **Health checks** and readiness probes for reliable deployments
**Data Management:**
- **Persistent Volume Claims** for database and WordPress file storage
- **Automated backup CronJobs** for both MySQL database and WordPress files
- **Data retention policies** to manage backup storage efficiently
**Security & Performance:**
- **Security contexts** with proper user permissions
- **Rate limiting** and proxy configurations via Ingress annotations
- **Session affinity** for consistent user experience
- **Resource optimization** with memory and CPU tuning
## Prerequisites
Before deploying this template, ensure your Kubernetes cluster has:
- **cert-manager** installed for SSL certificate management
- **Ingress controller** (NGINX recommended) running
- **Storage class** configured for dynamic volume provisioning
- At least **3 worker nodes** for high availability
## Quick Start
1. **Customize the template**: Replace placeholder values like `your-wordpress.com` and `your-email@example.com`
2. **Generate WordPress auth keys**: Visit http
WordpressMySQLHigh available

Keycloak with postgresql database
2 usesBasic keycloak deployment in kubernetes with following components
1) Keycloak
2) Keycloak image configuration in configmap
3) Postgresql database as statefulset with PVC template
4) Network policies to only allow connections between keycloak and databse
5) Ingress to reach the keycloak
keycloak