Skip to main content
K8sCalc

$ k8scalc generate --list

Config Generators

Fill in the fields, get production-ready YAML or config output. Copy to clipboard or download directly.→ Calculators

Kubernetes

Deployment, ingress, RBAC, HPA, PDB, StatefulSet, and cluster config generators.

kubeadm Config Generator

kubeadm-config.yaml

Generate a production-ready kubeadm-config.yaml for bootstrapping a Kubernetes cluster. Outputs ClusterConfiguration, InitConfiguration, and KubeletConfiguration.

HAProxy Kubernetes Config Generator

haproxy.cfg

Generate a production-ready haproxy.cfg for load balancing the Kubernetes API server and Ingress controller. Supports 1–3 control plane nodes with TCP passthrough.

Kubernetes Network Policy Generator

network-policy.yaml

Generate Kubernetes NetworkPolicy YAML with default-deny and allow rules for namespace isolation. Supports ingress allow-lists, egress port rules, DNS, and Prometheus scraping.

etcd Backup CronJob Generator

etcd-backup-cronjob.yaml

Generate a Kubernetes CronJob that automatically takes etcd snapshots and uploads them to S3. Includes the Secret, ServiceAccount, and complete CronJob YAML.

ArgoCD Application Generator

argocd-application.yaml

Generate an ArgoCD Application manifest for GitOps deployments. Supports directory, Kustomize, and Helm chart sources with automated or manual sync policies.

Kubernetes Deployment YAML Generator

deployment.yaml

Generate a Kubernetes Deployment and ClusterIP Service YAML with resource requests/limits, liveness/readiness probes, and configurable replicas, image, and environment variables.

Kubernetes Ingress Generator

ingress.yaml

Generate Kubernetes Ingress YAML for nginx Ingress Controller or Traefik IngressRoute. Supports TLS with cert-manager, path routing, and Let's Encrypt configuration.

GitHub Actions K8s Deploy Generator

.github/workflows/deploy.yml

Generate a GitHub Actions workflow that builds and pushes a Docker image to GHCR, Docker Hub, or a private registry, then deploys to Kubernetes via kubectl or Helm.

Kubernetes RBAC Generator

rbac.yaml

Generate a Kubernetes ServiceAccount, Role or ClusterRole, and RoleBinding or ClusterRoleBinding in one manifest. Configure resources and verbs for least-privilege access.

Kubernetes HPA Generator

hpa.yaml

Generate a Kubernetes HorizontalPodAutoscaler manifest targeting CPU and/or memory utilisation. Supports custom metrics and scale-down stabilisation.

Helm Chart values.yaml Generator

values.yaml

Generate a Helm chart values.yaml with image, replicas, resources, service, ingress, and environment variable sections. Ready to use with helm install --values.

k3s Install Script Generator

install-k3s.sh

Generate a k3s server or agent install command with the right flags for your setup — embedded etcd HA, external datastore, custom CIDR, flannel backend, and Traefik control.

Kubernetes StatefulSet Generator

statefulset.yaml

Generate a Kubernetes StatefulSet YAML with a PVC template and headless Service. Ready for databases, queues, and other stateful workloads.

Kubernetes CronJob Generator

cronjob.yaml

Generate a Kubernetes CronJob YAML for scheduled tasks — database backups, report generation, cache warming, or any periodic job.

cert-manager Certificate Generator

certificate.yaml

Generate cert-manager Certificate and Issuer/ClusterIssuer YAML for Let's Encrypt TLS certificates. Supports HTTP-01 and DNS-01 challenges.

Kubernetes ConfigMap Generator

configmap.yaml

Generate a Kubernetes ConfigMap YAML from key-value pairs. Includes usage examples for envFrom and individual env var injection.

Kubernetes Secret Generator

secret.yaml

Generate a Kubernetes Secret YAML with base64-encoded values. Includes security warnings and usage examples. Never commit Secrets to Git without encryption.

Velero Backup Schedule Generator

velero-backup.yaml

Generate Velero BackupStorageLocation and Schedule CRDs for automated Kubernetes cluster backups to S3, GCS, Hetzner Object Storage, or MinIO.

FluxCD HelmRelease Generator

helmrelease.yaml

Generate FluxCD HelmRelease and HelmRepository CRDs for GitOps-driven Helm chart deployments. Compatible with Flux v2.

Kubernetes PodDisruptionBudget Generator

pdb.yaml

Generate a Kubernetes PodDisruptionBudget YAML to protect your workloads during node drains, rolling updates, and cluster upgrades.

Storage

Longhorn S3 backup, etcd backup CronJob, PVC, and Velero schedule generators.

Docker & Containers

Dockerfile and Docker Compose generators for containerising your applications.

Observability

Prometheus alert rules and monitoring configuration generators.