Run a ServiceGraph Pipeline
Call function.run(action="serve", ...) to deploy the pipeline.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | str | ✓ | Action to execute. Must be serve. |
| service_ports | list[dict] | List of exposed service ports and target ports. | |
| service_type | str | Kubernetes service type. | |
| service_name | str | Service name. | |
| replicas | int | Number of service replicas. | |
| volumes | list[dict] | List of volumes. | |
| resources | dict | Resource limits and requests. | |
| envs | list[dict] | Environment variables. | |
| secrets | list[str] | List of secret names. | |
| profile | str | Profile template. | |
| parameters | dict | Parameters to customize ServiceGraph flow properties. |