Kitloft

All tools / References

Kubernetes examples

Copy-ready Kubernetes files for monitoring, databases, web servers and apps, with sensible defaults already in place.

Open the Kubernetes template generator →

Monitoring
PrometheusPrometheus with RBAC, a persistent volume and scrape rules that pick up any pod or service annotated with prometheus.io/scrape.
GrafanaGrafana with a persistent volume, an admin password in a Secret and Prometheus already added as a data source.
Node ExporterA DaemonSet that runs Prometheus Node Exporter on every node, including control-plane nodes, with a Service Prometheus discovers automatically.
AlertmanagerPrometheus Alertmanager with a starter routing config you can extend with Slack, email or PagerDuty receivers.
LokiGrafana Loki in single-binary mode with filesystem storage, a good start for collecting logs in a small cluster.
Databases
PostgreSQLPostgreSQL as a StatefulSet with a persistent volume, credentials in a Secret, and readiness and liveness checks.
MySQLMySQL as a StatefulSet with a persistent volume, root and app passwords in a Secret, and health checks.
MariaDBMariaDB as a StatefulSet with a persistent volume, passwords in a Secret, and the image's built-in health check.
MongoDBA single MongoDB instance as a StatefulSet with authentication enabled, a persistent volume and health checks.
RedisRedis as a StatefulSet with a password, append-only persistence on a volume, and health checks.
Web servers
Nginx web serverNginx serving a static site, with a custom config in a ConfigMap, a Service and an Ingress with TLS from cert-manager.
Apache HTTP ServerApache httpd serving a static site from a ConfigMap, with a Service and an Ingress with TLS from cert-manager.
Caddy reverse proxyCaddy as an in-cluster reverse proxy in front of another Service, with its Caddyfile in a ConfigMap.
Apps and messaging
RabbitMQRabbitMQ with the management UI, as a StatefulSet with a persistent volume and credentials in a Secret.
WordPress with MySQLWordPress plus its own MySQL database, with persistent volumes for both, a Service and an Ingress with TLS.