Generate valid Kubernetes YAML manifests interactively. Select a resource type, fill in the form, and get properly formatted YAML ready for kubectl apply. Supports Deployments, Services, ConfigMaps, Secrets, Ingress, PVCs, CronJobs, Jobs, and StatefulSets.
What is a Kubernetes YAML manifest and why do I need one?▼
A Kubernetes YAML manifest is a declarative configuration file that describes the desired state of a Kubernetes resource such as a Deployment, Service, ConfigMap, or Ingress. Kubernetes uses these manifests to create, update, and manage resources in your cluster. You apply manifests with kubectl apply -f manifest.yaml. YAML is the standard format because it is human-readable, supports comments (unlike JSON), and maps naturally to the Kubernetes API object structure with fields like apiVersion, kind, metadata, and spec.
What is the difference between a Kubernetes Deployment and a StatefulSet?▼
A Deployment manages stateless applications where pods are interchangeable — any pod can be replaced without affecting the application. A StatefulSet manages stateful applications that require stable network identities, persistent storage, and ordered deployment/scaling. StatefulSet pods get predictable names (e.g., mysql-0, mysql-1) and each can have its own PersistentVolumeClaim. Use Deployments for web servers, APIs, and microservices. Use StatefulSets for databases (PostgreSQL, MySQL, MongoDB), message queues (Kafka, RabbitMQ), and distributed systems that need stable identity.
How do I choose the right Kubernetes Service type?▼
Kubernetes offers four Service types: ClusterIP (default) exposes the service on an internal IP reachable only within the cluster — ideal for internal microservice communication. NodePort exposes the service on each node's IP at a static port (30000-32767) — useful for development and testing. LoadBalancer provisions an external cloud load balancer that routes traffic to your service — the standard choice for production external access on cloud providers. ExternalName maps the service to an external DNS name without proxying — used to reference external services from within the cluster.
Keyboard Shortcuts
Ctrl+Enter Download YAML Ctrl+Shift+C Copy YAML Ctrl+L Reset to defaults