class ServiceForDeployment
Generates a Service for every pod-bearing resource that has containers with named ports.
The generated Service uses +spec.selector.matchLabels+ from the source resource and maps each named container port.
Labels and namespace are copied from the source resource, so subsequent middleware (Labels, Namespace, etc.) will also apply to the generated Service.
stack do use Middleware::ServiceForDeployment end