Run Commands
Read the PPS series >

Service PPS

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

May 30, 2023

Spec #

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

Attributes #

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: