Config
Kubernetes YAML Generator
Generate Kubernetes Deployment and Service YAML.
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas: 2
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
containers:
- name: web
image: nginx:alpine
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: web
spec:
selector:
app: web
ports:
- port: 80
targetPort: 80
type: ClusterIPGenerated in your browser. Free, nothing is uploaded.
About this tool
Free kubernetes yaml generator tool. Generate Kubernetes Deployment and Service YAML. No signup, nothing uploaded.
Frequently asked questions
Is the output safe to use?
It is a conservative starting point — always review it before applying.
Do you need access to my server?
No. Paste the config yourself after reviewing.
Can I customise it?
Set domains, ports and paths in the fields, then edit the output.
Need more than a tool?
HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.