service template request
service resource specification
If req.port
is truthy, create a service if it does not exist and
patch it if it does. Any provided req.serviceSpec
is merged
using serviceTemplate before creating/patching.
Kuberenetes application request
Kubernetes resource spec used to create/patch resource, or undefined if port not defined
Generated using TypeDoc
Create service spec to front a Kubernetes application. If the request has a
serviceSpec
, it is merged into the spec created by this function usinglodash.merge(default, req.serviceSpec)
.It is possible to override the service name using the KubernetesApplication.serviceSpec. If you do this, make sure you know what you are doing.