What is YAML to Kubernetes Config Generator?
This tool converts a simplified YAML configuration into standard Kubernetes manifests. It generates Deployment, Service, and ConfigMap resources with proper labels, selectors, and resource specifications.
How to Use
- Select which K8s resources to generate (All, Deployment, Service, or ConfigMap)
- Enter your simplified YAML configuration with app name, image, replicas, ports, etc.
- Click "Generate K8s Config" to create the manifests
- Apply the output to your cluster with kubectl apply -f
Why Use This Tool?
Tips & Best Practices
- Use the sample as a template for your configuration
- Include resource requests and limits for production workloads
- The app name is used as the label selector throughout
- Environment variables are added to both Deployment and ConfigMap
Frequently Asked Questions
What fields are required?
At minimum, you need "app" (application name) and "image" (container image). Other fields like replicas, ports, env, and resources are optional.
How are environment variables handled?
Environment variables defined in the "env" section are added to the Deployment container spec. You can also generate a ConfigMap to externalize configuration.
Can I customize the generated manifests?
Yes, the generated YAML is standard Kubernetes manifest. You can edit it directly or use it as a starting point for more complex configurations.
Is my data sent to a server?
No, all processing happens entirely in your browser. Your configuration never leaves your device.