porter.yaml.
Field Reference
Basic Example
private
boolean
Optional
When true, the service is only accessible within the cluster (not publicly exposed).
disableTLS
boolean
Optional
Disable TLS termination at the load balancer. Only use this for services that handle their own TLS or for internal testing.
autoscaling
object
Optional
Configure horizontal pod autoscaling based on CPU and memory utilization. See Autoscaling Configuration for full documentation.
domains
array
Optional
Configure custom domains for your web service.
healthCheck
object
Optional
Configure a combined health check that applies to liveness, readiness, and startup probes.
Advanced Health Checks
For fine-grained control, configure liveness, readiness, and startup probes separately.livenessCheck
object
Optional
Determines if the container should be restarted.
readinessCheck
object
Optional
Determines if the container is ready to receive traffic.
startupCheck
object
Optional
Used for slow-starting containers. Other probes are disabled until this passes.
pathRouting
array
Optional
Configure path-based routing to direct requests to different ports or services.
A path must be specified for the default port set in
services.port.pathRoutingConfig
object
Optional
Configure path rewriting behavior for path-based routing.
Rewrite Modes:
ingressAnnotations
object
Optional
Add custom NGINX ingress annotations for advanced configuration.
connections
array
Optional
Connect to external cloud services. See Connections Configuration for full documentation.
serviceMeshEnabled
boolean
Optional
Enable service mesh for enhanced inter-service communication with improved performance, reliability, and monitoring.
Recommended for applications with multiple services that communicate with each other, especially those using gRPC or WebSockets.
metricsScraping
object
Optional
Configure Prometheus metrics scraping for custom application metrics.
terminationGracePeriodSeconds
integer
Optional
Seconds to wait for graceful shutdown before forcefully terminating the container.
gpuCoresNvidia
integer
Optional
Allocate NVIDIA GPU cores for ML inference or GPU-accelerated workloads.
Requires a node group with GPU-enabled instances.

