100% Private

Kubernetes Service Generator - Create Service YAML

Generate Kubernetes Service manifests for ClusterIP, NodePort, LoadBalancer, and ExternalName types. Configure ports, selectors, and session affinity.

Selector Labels
Ports
Options
kubectl Commands
# Apply service
kubectl apply -f service.yaml

# Get service details
kubectl get svc my-service -n default

# Get endpoints
kubectl get endpoints my-service -n default

# Test service (from within cluster)
kubectl run tmp --rm -i --restart=Never --image=curlimages/curl -- \
  curl http://my-service.default.svc.cluster.local
Service DNS
my-service.default.svc.cluster.local

This DNS name resolves to the Service ClusterIP within the cluster.

Related Tools

View all Kubernetes configurators →

Privacy Notice: This site works entirely in your browser. We don't collect or store your data. Optional analytics help us improve the site. You can deny without affecting functionality.