K8sCalc

$ k8scalc generate --list

Config Generators

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

Kubernetes

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.

Storage

Docker & Containers

Observability