› kube_cluster › Source › Kube › Cluster › Middleware › ServiceForDeployment

class ServiceForDeployment

Generates a Service for pod-bearing resources with named ports.

Example: Labels/namespace copy over, so later middleware also applies

stack do
  use Middleware::ServiceForDeployment
end

Signature