Platform
Runtime & Infrastructure
How services run on Parslinks - workloads and replicas, CPU and memory, health checks, restarts, start and stop behavior, the console and isolation.
The runtime turns a deployment into healthy, networked replicas and keeps them that way. This page covers what happens to your container from start to stop.
Workloads and replicas
Each running instance is a regional workload, a replica-set managed by Parslinks. Three things are kept separate:
| Axis | What it is | Changed by |
|---|---|---|
| Release | Which immutable deployment runs | Deploy, rollback, promote |
| Placement | How many replicas, in which region | Scaling (Scaling & Regions) |
| Replica | One observed running member | The runtime, to match placement |
The runtime continuously reconciles observed replicas toward the desired placement. If a replica crashes or its host restarts, it is replaced without any action from you.
The runtime spec
Each deployment freezes a runtime spec:
| Field | Meaning |
|---|---|
| Image digest | The exact image that runs (never a moving tag) |
| Command / args | The start command, if you override it |
| Port | The container port traffic is sent to |
| CPU | Limit in millicores (1000 = 1 vCPU) |
| Memory | Limit in MB |
| Probes | HTTP or TCP health checks |
| Restart policy | What happens when the process exits |
| Grace period | Seconds between the stop signal and a forced kill |
Changing any of these is a staged change that ships with the next Apply or deploy.
Environment your container gets
PORT: the container port, andHOST=0.0.0.0unless you set it.- Platform variables such as
PARSLINKS_SERVICE_NAME,PARSLINKS_ENVIRONMENT_NAME,PARSLINKS_DEPLOYMENT_ID,PARSLINKS_PRIVATE_DOMAIN, plus per-replicaPARSLINKS_REPLICA_IDandPARSLINKS_REPLICA_REGION. - Your variables, resolved from the deployment's snapshot (Variables & Configuration).
Resources
Set CPU and memory per service. Each replica gets these limits. Your plan caps the total per workspace (Starter: 4 vCPU and 4 GB; Pro: 16 vCPU and 32 GB). If a replica cannot be scheduled, the instance reports why:
| Reason | Meaning |
|---|---|
INSUFFICIENT_MEMORY / INSUFFICIENT_CPU | No host in the region has room for the requested limits. |
IMAGE_PULL | The image could not be pulled (tag, credentials, registry). |
PROBE_FAILED | Replicas start but never pass the health check. |
VOLUME_REPLICA_LOCK | A volume is attached, so the region is limited to one replica. |
NO_NODES | No runtime host is available in the region. |
Health checks
Readiness is decided by probes the platform runs from outside your container:
- HTTP check: a path (for example
/healthz) must answer with a 2xx or 3xx status. - TCP check: the port must accept a connection.
A replica is ready only when its probe passes and it is in the platform endpoint's ready pool. Deploys use this as their health gate (Deployments).
Guidelines:
- Make the health path cheap and dependency-light. A check that queries the database can fail a deploy during a database hiccup.
- Do not rely on a Dockerfile
HEALTHCHECK; Parslinks does not use it for readiness. - Give slow-starting apps enough startup time before the first probe counts.
Start and stop
- Start: new replicas start, probes begin, and a replica joins the ready pool only after it passes.
- Stop: the replica first leaves the ready pool, then receives
SIGTERM. After the grace period it is killed. HandleSIGTERMto finish in-flight requests and close connections cleanly. - Rollouts: start-first by default (no downtime), stop-first when a volume is attached.
Pause and resume
Pausing an instance stops its replicas and removes it from routing, without deleting anything. Paused instances do not consume compute. Resume to start it again with the same deployment.
The console
Open an interactive shell in any ready replica from the service's Console tab: no SSH keys and no open ports. Sessions target a specific replica, so what you see is what serves traffic. Sessions close after 30 minutes of inactivity and last at most 4 hours. On restricted projects the console requires project admin rights.
Isolation
Customer workloads are treated as untrusted:
- no Docker socket, no cluster manager API, no privileged mode;
- a project-scoped network per project;
- health probes run by the platform, never by executing tools inside your image.
