Run Commands
Read the PPS series >

Service PPS

Enable a pipeline to be treated as a long-running service.

December 4, 2023

Spec #

This is a top-level attribute of the pipeline spec.

{
  "pipeline": {...},
  "transform": {...},
  "service": {
    "internalPort": int,
    "externalPort": int
  },
  ...
}

Attributes #

AttributeDescription
internalPortThe port that the user code binds to inside the container.
externalPortThe port on which it is exposed through the NodePorts functionality of Kubernetes services.

Behavior #

When to Use #

You should use the service field in a HPE ML Data Management Pipeline Spec when you want to expose your pipeline as a Kubernetes service, and allow other Kubernetes services or external clients to connect to it.

Example scenarios: