Reference
PachCTL

Service PPS

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

March 29, 2023

ℹī¸

For a single-page view of all PPS options, go to the PPS series page.

Spec #


"service": {
  "internal_port": int,
  "external_port": int
},

Attributes #

AttributeDescription
internal_portThe port that the user code binds to inside the container.
external_portThe 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 Pachyderm 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: