Limits
Every hard limit in NebulaCtrl, with its exact value and what is refused or clamped when you reach it. Covers API requests, streams, rate limits, sizes and counts in configuration files, shell sessions, notification channels, alerts, log search, retention periods and timeouts.
A limit is a value the control plane or an agent enforces. This page lists each one, grouped by the area where you meet it. A value marked as a default is not a limit: you can change it, and it is listed so you know what applies when you set nothing.
Where a row names an HTTP status, the API answers with that status and a message naming the field. A 422 means the request is well formed but a value is out of range. A 409 means the request collides with the current state.
API and pagination
Limits on the size of a request and on how much one list call returns.
| Limit | Value | Applies to |
|---|---|---|
| List page size, default | 50 items | A list request that sets no limit. |
| List page size, range | 1 to 200 items | A limit outside the range answers 422. |
| Build log page size, default | 200 lines | A build log request that sets no limit. |
| Build log page size, range | 1 to 1,000 lines | A limit outside the range answers 422. |
| SCIM list page size | At most 200 resources | A count above 200 is clamped to 200. |
| Deployments-per-day report window | 1 to 400 days | A days value outside the range answers 422. The default is 371 days. |
| Request body | At most 1 MiB | The body of an API, SCIM or agent request. A larger body is refused with 413. The agent's log batches and a shell file upload have their own limits, listed under Observability and retention and Shell sessions. |
| Staged changes per batch | At most 500 items | A batch of staged changes with more items, or none, answers 422. |
| Canvas positions per request | At most 500 items | A request that saves more canvas positions answers 422. |
| Canvas groups per environment | At most 50 | A request that saves more groups answers 422. |
| Canvas group name | 1 to 48 characters | A name outside the range answers 422. |
| Services per canvas group | At most 500 | A service is in at most one group. |
| Canvas position coordinates | -1,000,000 to 1,000,000 | The x and y of a saved position. A value outside the range answers 422. |
| Differences synced per request | 1 to 500 items | The differences one environment comparison stages as a change set. More than 500, or none, answers 422 and stages nothing, so sync in parts. |
Live streams
Limits on the server-sent event streams that feed the console and the log views. The deployment stream, the environment log stream and the build log stream share one set of limits. The organization event stream has its own.
| Limit | Value | Applies to |
|---|---|---|
| Open log, build log and deployment streams | At most 4 per user or API token | A fifth stream opens, sends one refused: comment and closes. |
| Log, build log and deployment stream lifetime | 15 minutes | The server ends the stream. The console reconnects. |
| Log, build log and deployment stream heartbeat | Every 5 seconds | The server sends a comment frame so that proxies keep the connection open. |
| Log, build log and deployment stream re-authorization | Every 30 seconds | A revoked session or token, or a lost grant, ends the stream within 30 seconds. |
| Open organization event streams | At most 8 per user or API token | A ninth stream opens, sends one refused: comment and closes. |
| Organization event stream lifetime | 30 minutes | The server ends the stream. The console reconnects. |
| Organization event stream keep-alive | Every 15 seconds | The server sends a comment frame so that proxies keep the connection open. |
| Organization event stream re-authorization | Every 30 seconds | A revoked session or token, or a lost grant, ends the stream within 30 seconds. |
| Console reconnect delay | 1 second, doubling to at most 30 seconds | The console waits this long before it reopens a stream that dropped. |
Rate limits
Limits per client address on unauthenticated endpoints, including the ones that connect a cluster. Each bucket refills continuously. A request over the limit answers 429. Requests to the API with a credential have their own limits, in API requests.
| Limit | Value | Applies to |
|---|---|---|
| Sign-in start and callback | 20 requests at once, then 1 more every 3 seconds | One bucket per client address for both sign-in endpoints. |
| Agent enrollment and host scripts | 5 requests per minute | One shared bucket per client address for agent enrollment and for the install, high-availability, Tailscale and CloudNativePG script requests. |
| Install progress reports | 60 requests per minute | One bucket per client address for the progress reports an installing node posts. |
| Mesh registration | 5 requests per minute | One bucket per client address for a machine that asks to join the WireGuard mesh. |
| Community template refresh | 1 refresh every 30 seconds | One bucket for the whole installation. A request while a refresh runs, or within 30 seconds of the last one, answers 429. |
API requests
Since 0.42.0, each browser session and each API token has its own buckets for the typed API, and a request without a credential is counted per client address. A bucket holds its full allowance at once and refills evenly over the minute. A request that is over a limit is refused, changes nothing and answers 429 with the headers below. The agent link is not counted. A stream or a shell connection that is already open costs nothing more; only opening it counts. Change a limit with the rate limit settings; 0 turns it off.
| Limit | Default | Applies to |
|---|---|---|
| All requests | 1200 per minute | Every request. |
| Writes | 120 per minute | Every request that is not a GET, HEAD or OPTIONS. |
| Builds and deployments | 30 per minute | Starting a build, retrying one, creating a release, redeploying, promoting, rolling back, deploying a preview service anyway, applying a change set and deciding an approval. |
| API token creation | 10 per minute | Creating an API token. |
| Variable reads | 60 per minute | Resolving a service's variables and revealing a variable's value. |
| Database queries | 60 per minute | Running a query on a database from the console or the API. |
A request counts against every limit that applies to it, and a request refused by a stricter limit does not also use the broader ones. Every response from a counted operation carries the limit closest to empty:
| Header | Value |
|---|---|
X-RateLimit-Limit | The size of that limit, per minute. |
X-RateLimit-Remaining | How many more requests it admits now. |
X-RateLimit-Reset | Seconds until it is full again. |
Retry-After | On a 429 only. Seconds until one more request is admitted. |
Services and processes
Limits that apply when you configure a service in the console or over the API. For the limits of a nebula.toml file, see the next section. For the model behind them, see processes.
| Limit | Value | Applies to |
|---|---|---|
| Process port | 1 to 65,535 | The port of an http process, or of a worker process that declares one. A value outside the range answers 422. |
| Replicas | 0 or more, except a managed Postgres database, which takes 1 to 6 | A negative value answers 422. For any other service the API sets no upper bound. The console control stops at 50 and nebula.toml stops at 100. A Postgres database has one writer and up to 5 readers, so staging 0 or more than 6 instances answers 422. |
| Run-as user ID | 0 or more | A negative value answers 422. |
| Release command size | At most 8 KiB in total | The combined length of every argument. A longer command answers 422. |
| Release command timeout | 1 to 3,600 seconds | A value outside the range answers 422. The default is 300 seconds. |
| Deploy after entries | At most 20 | The services and databases one service waits for, as set in the console or API. A longer list answers 422. See deploy order. |
| Dockerfile build target | At most 128 characters | The stage name must start with a letter or digit and use letters, digits, _, . or -. A name outside the shape answers 422. |
| Retired releases kept per service | 3 | Older retired releases are removed from the cluster, so a rollback reaches the 3 newest. |
nebula.toml
Limits on a service's nebula.toml file, as written in the guide. A file over any limit is invalid: the build fails and its log lists each problem with the key and line. Counts apply to the merged result after environment overrides.
| Limit | Value | Applies to |
|---|---|---|
| File size | At most 64 KiB | The whole file. It is checked before it is parsed. |
| Processes | At most 20 | Entries in [processes]. |
| Process name | 1 to 30 characters | Lowercase letters, digits and -, starting with a letter: ^[a-z][a-z0-9-]{0,29}$. |
| Mounts | At most 10 | Entries in [[mounts]]. |
| Mount name | 1 to 30 characters | The same pattern as a process name. |
| Mount size | Greater than 0, at most 1 TiB | The initial size of a mount. |
| Environment variables | At most 100 | Keys in env. |
| Environment variable key | Uppercase letters, digits and _ | ^[A-Z_][A-Z0-9_]*$. A key outside the shape is refused. |
| Build arguments | At most 50 | Keys in [build] args. |
| String length | At most 4 KiB | Each string value and each cmd or entrypoint word, counted in bytes. release_command is not held to this limit word by word; only its 8 KiB total applies. |
| Release command size | At most 8 KiB in total | The combined length of every word of release_command. |
| Release command timeout | 10 seconds to 1 hour | release_command_timeout. The default is 300 seconds when a command is set and no timeout. |
| Deploy after entries | At most 20 | Slugs in [deploy] depends_on. |
| Port | 1 to 65,535 | A process port and a metrics port. |
| Replicas | 0 to 100 | A process replicas. |
| Run-as user ID | 0 to 2,147,483,647 | A process run_as_user. |
| Stabilization time | 0 to 600 seconds | A process stabilization_seconds. |
| Drain time | 0 to 600 seconds | A process drain_seconds. |
| Watch paths | At most 20 | Entries in [build] watch_paths. |
| Watch path length | At most 256 bytes | Each entry in watch_paths. |
Project config
Limits on a project config: the nebula.toml at the root of a project's config repository. Each service block in it is also a service file, so the service file limits above apply to it. A value over a limit is reported as a problem that names the setting.
| Limit | Value | Applies to |
|---|---|---|
| File size | At most 256 KiB | The whole file. It is checked before it is parsed. |
| Services and databases | At most 20 in total | Entries in [services] and [databases] together. |
| Service or database slug | 1 to 40 characters | Lowercase letters and digits in single-hyphen-separated segments, starting with a letter. inputs is reserved. |
| Connection variables per service | At most 100 | Keys in a service's connection table. |
| Secrets per service | At most 100 | Keys in a service's secrets table. |
| Deploy after entries | At most 20 | Slugs in a service's depends_on. |
| Postgres readers | 0 to 5 | readers in a Postgres database block. |
| Database initial size | Greater than 0, at most 1 TiB | size in a database block. |
Config plan
Limits on the plan that reads a repository's nebula.toml files without changing anything. It runs for the config plan API and for each pull request, as described in the project config guide.
| Limit | Value | Applies to |
|---|---|---|
| Files per plan request | At most 100 | The nebula.toml files one request sends. More answers 422. |
| Plan time for a pull request | 2 minutes | One plan run for a pull request head. |
| Plan attempts for a pull request | At most 3 | A plan whose Git reads or report failed is tried again, up to 3 attempts in all. |
| Lines per environment in a report | At most 40 | Longer lists end in a line that counts the rest. The console shows all of them. |
| Commit status description | At most 140 characters | A longer description is cut and ends in …. |
| Check run summary and comment | At most 60,000 characters | A longer plan is cut and ends in …. |
Templates
Limits on a template file. A malformed template answers 422 and lists every problem it has. Previewing a template returns the problems in the response body instead.
| Limit | Value | Applies to |
|---|---|---|
| File size | At most 256 KiB | A template saved, previewed, or fetched from a URL. |
| Name | 1 to 60 characters | The template's name. |
| Slug | 1 to 40 characters | Lowercase letters, digits and -, starting with a letter. |
| Description | 1 to 280 characters | The template's description. |
| Tags | At most 8 | Entries in tags. |
| Tag length | 1 to 24 characters | Lowercase letters, digits and -, starting with a letter or digit. |
| Readme | At most 16 KiB | The template's readme. |
| Inputs | At most 20 | Entries in inputs. |
| Input key | 1 to 64 characters | An uppercase letter, then uppercase letters, digits and _. |
| Input label | 1 to 60 characters | An input's label. |
| Input description | At most 280 characters | An input's description. |
| Services | 1 to 20 | Entries in services. |
| Service name | 1 to 30 characters | Lowercase letters and digits in single-hyphen-separated segments, starting with a letter. |
| Processes per service | At most 10 | Entries in a service's processes. |
| Process name | 1 to 30 characters | Lowercase letters, digits and -, starting with a letter. |
| Volumes per process | At most 5 | Entries in a process's volumes. |
| Volume name | 1 to 30 characters | Lowercase letters, digits and -, starting with a letter. |
| Volume size | At most 1 TiB | A volume's size. |
| Variables per service | At most 100 | Entries in a service's variables. |
| Port | 1 to 65,535 | A process port. |
| URL fetch time | 10 seconds | Fetching a template from a URL. A slower response is refused. |
| URL redirects | At most 4 | Fetching a template from a URL. A fifth redirect is refused, and so is a redirect to a URL that is not https. |
| Community catalog refresh, automatic | Every hour | The control plane reloads the public community templates. |
| Community catalog download | At most 8 MiB | The compressed download of one refresh. A larger download is refused. |
| Community catalog download time | 30 seconds | One refresh download. |
| Community template file | At most 256 KiB | Each template file in the community catalog. |
Compose import
Limits on an import from a Compose file. An import over a hard limit is refused with 422. Where a row says the extra items are skipped, the import goes on and lists a note.
| Limit | Value | Applies to |
|---|---|---|
| Compose file size | At most 256 KiB | A larger file is refused with 422. |
| Compose files found | At most 20 | Files listed when the import searches the repository. The search covers the scan root and its immediate subfolders. Further files are not listed. |
| Subfolders searched | At most 50 | The first 50 subfolders of the scan root, in alphabetical order. Hidden folders, node_modules and vendor are never searched. |
| Services per import | At most 20 | Services ticked for one import. More answers 422. In a file with more services, the first 20 are ticked and the rest wait for a second import. |
| Service slug | 1 to 30 characters | Lowercase letters and digits in single-hyphen-separated segments, starting with a letter. |
| Volumes kept per process | At most 5 | Volumes beyond the fifth are not kept, and a note says their data is lost on redeploy. |
| Environment files read | At most 16 | Distinct env_file files read across the whole Compose file. A file that several services name counts once. The variables of further files are not imported. |
| Environment file size | At most 64 KiB | Each env_file and each .env file. A larger file is not used. |
Variables and files
Limits on variables, variable expressions and the files a service mounts.
| Limit | Value | Applies to |
|---|---|---|
| Variable key | Uppercase letters, digits and _, not starting with a digit | ^[A-Z_][A-Z0-9_]*$. A key outside the shape answers 422. The database enforces the same rule. |
secret(N) length | 16 to 128 characters asked, at least 32 drawn | The N of a secret(N) expression. A value outside 16 to 128 answers 422. A generated secret is never shorter than 32 characters: secret(N) draws the larger of N and 32, and secret() draws 32. |
| Reference chain depth | At most 5 | References that point at values that are themselves references. Saving a variable does not check the chain. A deeper chain, or a cycle, is refused when a deployment compiles the variables, and the request answers 400. |
| File mounts per service | At most 20 | Variables mounted as files. More answers 422. |
Databases
Limits on a database service and on the console's query tab.
| Limit | Value | Applies to |
|---|---|---|
| Query run time | 5 seconds | One console query. A query over the limit is stopped. |
| Query rows | At most 500 | Rows returned by one console query. |
| Query text | At most 16 KiB | A longer query answers 422. |
| Result cell | At most 2 KiB | A longer cell is cut and marked as cut. |
| Result size | At most 512 KiB | Once the cells of a result reach this size as JSON, the result stops growing. |
| Table listing time | 5 seconds | The table list the Data tab loads. |
| Concurrent console commands | At most 4 per agent | A command over the limit is answered at once with a busy result and is not queued. |
| Database name | 1 to 63 characters | The name in a create request. A name outside the range answers 422. |
| Database slug | At most 40 characters | The slug derived from the name. A longer slug answers 422. |
| Postgres instances | 1 to 6 | The replica count of a Postgres database: one writer and 0 to 5 readers. A value outside the range answers 422. |
| Daily dump retention, default | 7 dumps | The schedule a new database gets keeps its 7 newest dumps. |
| Point-in-time recovery prefix | At most 256 characters | The archive prefix. It is a slash-separated path without spaces, backslashes or ... A longer prefix answers 422. |
| Restored service name | At most 63 characters | The name of the new service in a restore into a new service. A longer name answers 422. |
Shell sessions
Limits on shells and the file browser in a running instance. Where a row names 409, the request collides with the sessions already open.
| Limit | Value | Applies to |
|---|---|---|
| Session length | 1 hour | The control plane ends a session after this time, however busy it is. |
| Idle time | 15 minutes | A session that moved no terminal data in either direction for this long ends. |
| Open shells per person or API token | At most 5 | A sixth shell answers 409. |
| Open shells per control plane | At most 64 | A shell over the limit answers 409. |
| Open shells per cluster agent | At most 8 | A shell over the limit is not opened, and the terminal says so. |
| Connection ticket | 30 seconds | The time a new session waits for the browser to open its connection. |
| Agent connection wait | 20 seconds | The time the control plane waits for the agent to connect after it sends the command. |
| Attach wait | 90 seconds | The time the agent has to attach to the container. It covers pulling the debug image. |
| Access re-check | Every 1 minute | A running session checks that its credential, role and the organization's policy still allow it. |
| File transfer size | At most 10 MiB | One file downloaded or uploaded, and one directory downloaded as a tar archive. A larger file is refused with 422 and nothing is transferred. |
| File browser operation time | 2 minutes | One listing, download or upload from start to finish. |
| Directory listing | At most 2,000 entries | A larger directory is listed up to the limit, and the listing says that more existed. |
| Path length | At most 4,096 bytes | A path the file browser is asked about. |
| Uploaded file name | 1 to 255 characters | The file name in an upload. A file of that name in the directory is replaced. |
| Terminal size | 1 to 1,000 columns and rows | The size a shell opens with and resizes to. A value outside the range answers 422. |
Volumes and backups
Limits on volumes, their backups and restores.
| Limit | Value | Applies to |
|---|---|---|
| Volume size | Greater than 0 | A console volume, an environment override and the data volume of a new database. A size of 0 or less answers 422. |
| Backup schedules per volume and environment | 1 | A second schedule replaces the first. |
| Schedule retention | At least 1 backup | keepLast. A value below 1 answers 422. Older succeeded backups of the schedule are deleted after each new one succeeds. |
| Schedule expression | 5 fields, evaluated in UTC | Minute, hour, day of month, month and day of week. Descriptors, a seconds field, a time zone override and an expression that never fires, such as 0 0 31 2 *, answer 422. |
| Backup archive size | At most 1,250 GiB | The compressed archive of one volume. A larger archive is deleted after upload, no backup is recorded and the backup fails. |
| Backup download link | 15 minutes | A signed download URL stops working after this time. |
| Restore into a new service | Waits up to 2 hours | The restore waits for the new service to start, which includes image pull, volume creation and any approval. It fails after that time. |
| Object store check | 15 seconds | The write, read and delete probe when you verify an object store. Adding or editing a store does not run it. A store that cannot finish the probe in this time is not verified, and the error is shown on the store. |
Builds
Limits on builds from a git source.
| Limit | Value | Applies to |
|---|---|---|
| Build run time | 30 minutes | A build that runs longer fails. |
| Concurrent builds per cluster | At most 2 | A third build waits in the queue. |
| Wait for a pushed image | 15 minutes | A trigger-only service checks every 20 seconds. The build fails with a message that the tag did not appear when the tag is still missing after 15 minutes. |
| Build log line | At most 8 KiB | A longer line is truncated. |
| Build log retention | 7 days | Build log lines older than 7 days are deleted. The sweep runs hourly. |
Deployments and approvals
Limits on deployments, approvals and freezes, rollbacks and promotions and deploy order.
| Limit | Value | Applies to |
|---|---|---|
| Approval wait | 24 hours | A request nobody decides expires. The deployment it gates is cancelled. |
| Deploy concurrency per project | At least 1 | A project that sets it refuses a deployment while that many are in flight, with 409. A project that sets nothing has no limit. |
| Deploy freeze windows | At most 28 | Windows in an organization's freeze policy. More answers 422. |
| Change set message | At most 500 characters | A longer message answers 422. |
| Commits shown on an approval | At most 50 | A longer comparison shows the 50 most recent commits. |
| Stage budget: pending | 1 minute | A deployment that stays in the stage longer is flagged with the delivery or stalled blocker, whichever names the cause. |
| Stage budget: admitted | 3 minutes | The same, for the admitted stage. |
| Stage budget: releasing | 30 minutes | The same, for the releasing stage. |
| Stage budget: starting | 10 minutes | The same, for the starting stage. |
| Stage budget: qualifying | 7 minutes | The same, for the qualifying stage. |
| Stage budget: activating | 4 minutes | The same, for the activating stage. |
| Stage budget: draining | 20 minutes | The same, for the draining stage. |
| Qualifying timeout | 5 minutes | A release whose readiness is unmet after 5 minutes fails with the readiness blocker. |
| Volume claim timeout | 2 minutes | A volume claim that stays unbound fails with the pvc-attachment blocker. |
| Route activation timeout | 2 minutes | A traffic switch that keeps failing fails with the route-activation blocker. |
| Drain restart threshold | 3 restarts | A container of the new release that has restarted 3 or more times during the drain window, or a new release with fewer ready replicas than desired. Traffic goes back to the previous release and the new release fails with the readiness blocker. |
| Agent offline after | More than 1 minute without a heartbeat | A deployment that has stalled on a cluster whose agent is offline gets the delivery blocker. |
Preview environments
Limits on preview environments.
| Limit | Value | Applies to |
|---|---|---|
| Idle lifetime | 1, 3 or 7 days | A preview with no push for this long is deleted. Any other value answers 422. The default is 3 days. |
| Watch paths per service | At most 20 | The globs that decide which changed files rebuild a service in a focused pull request preview, set in the console or over the API. More answers 422. The same limit applies to [build] watch_paths in nebula.toml. |
| Watch path length | At most 256 bytes | Each glob. A longer one answers 422. |
| Changed files read per pull request | At most 3,000 | A pull request that changes more files, or whose listing fails, is treated as not reported, and every service deploys. |
| Changed file listing time | 30 seconds | The whole listing from the Git host. |
Domains
Limits on domains.
| Limit | Value | Applies to |
|---|---|---|
| Hostname | A valid RFC 1123 subdomain, at most 253 characters | A hostname outside the shape answers 422. |
| Unverified hostname reservation | 7 days | An unverified public hostname stays reserved for this time. After it expires, the reservation can be replaced once a fresh DNS check allows it. |
| Generated domain base | 3 to 189 characters | The organization's base, such as apps.example.com. It is lowercase, a valid hostname with at least two labels and not an IP address. A base outside the shape answers 422. |
| Generated hostname label | At most 63 characters | A service and environment name that makes a longer label is cut and ends in an 8-character hash of the full name. |
| Generated hostname attempts | 5 | After 5 names that collide with another project's service, generating asks for a hostname by hand. |
| Generated domains per service and environment | 1 | A second request returns the first. |
| Generated domain check lookup | 5 seconds | Each DNS lookup of a base check. |
| Tailnet device removal | 10 minutes | The control plane removes a recorded device that no domain reports and the operator has not removed within this time. |
Clusters
Limits on clusters and their agents. For clusters that serve other clusters' domains, see edge clusters.
| Limit | Value | Applies to |
|---|---|---|
| Clusters per organization | At most 16 | The WireGuard address plan holds 16 clusters. Creating a 17th answers 409. |
| Enrollment token lifetime | 1 hour | The token printed when you create a cluster. |
| Join command lifetime | 300 seconds to 24 hours | A join command's ttlSeconds and the organization default. A value outside the range answers 422. The default is 1 hour. |
| Node labels per join command | At most 20 | A longer map answers 422. |
| SSH port | 1 to 65,535 | The port of an install over SSH. The default is 22. A value outside the range answers 422. |
| SSH connection time | 15 seconds | The TCP connect and SSH handshake of an install. A slower host fails. |
| SSH install time | 20 minutes | One whole install over SSH. A longer run is treated as wedged and fails. |
| Agent update deadline, default | 10 minutes | A running agent update that the new agent has not confirmed by then is rolled back automatically. |
| Agent update history | 20 attempts | The attempts a cluster's agent history lists, newest first. |
| Cluster allocation windows | 1, 6 or 24 hours | The windows the allocation chart accepts. |
Observability and retention
Limits on logs and metrics and on how long telemetry is kept.
| Limit | Value | Applies to |
|---|---|---|
| Telemetry retention | 7 UTC days | Container logs, pod metrics, pod network and volume usage samples, database client samples, traffic samples and canvas metric samples. Older data is dropped hourly. |
| Cluster allocation retention | 7 days | The samples behind the cluster allocation chart. |
| Service metrics window | 1h, 6h or 24h; 1h, 24h or 7d for the summary | The window of the resource and traffic metrics takes 1h, 6h or 24h. The window of the metrics summary behind the console Metrics tab takes 1h, 24h or 7d. Any other value answers 422. The default is 1 hour. |
| Metrics summary range | 1 minute to 7 days | The from and to of the metrics summary for a zoomed chart. Send both or neither. A range shorter than 1 minute or longer than 7 days answers 422, and a to later than now is read as now. from and to replace window. |
| Metrics summary bucket width | 1 minute for 1h, 15 minutes for 24h, 2 hours for 7d | For a from and to range, the narrowest of 15 seconds, 30 seconds, 1, 2, 5, 10, 15 and 30 minutes, and 1 and 2 hours that draws at most 100 points. |
| Per-instance metrics | At most 16 pods | The metrics summary lists the 16 pods seen most recently and says it left the rest out. |
| Pod network rate gap | 5 minutes | The agent samples pod network traffic every minute. It reports no rate across a gap longer than 5 minutes. |
| Traffic window | 15m, 30m or 1h | The window of the environment traffic view. Any other value answers 422. The default is 30 minutes. |
| Database connection reading age | 3 minutes | The agent reads a database's client connections once a minute. A newest reading older than 3 minutes is reported as stale. |
| Latency percentile minimum | 10 requests | The p95 of a service needs at least 10 requests in the window, which is 30 minutes on the canvas card. |
| Canvas metrics window | 30 minutes | Fixed. The canvas card shows up to 30 points in 60-second buckets. |
| Canvas cron history | At most 7 runs | The runs a cron card lists, newest first. |
| Canvas Postgres status age | 2 minutes | After 2 minutes without a report, the card shows no instance markers. |
| Cluster events in the runtime view | 50 | The most recent cluster events a service's runtime view returns. |
| Log shipping rate | 2,000 lines per second per agent | Across all pods of one cluster. Lines over the rate are dropped and counted. |
| Container log line | At most 8 KiB | A longer line is truncated. |
| Log batch body | At most 8 MiB | The body of one log batch from an agent. This is the one request body limit above 1 MiB. |
| Agent event batch | At most 200 events | A batch with more events answers 422. |
| Service Logs tab buffer | 5,000 lines | The console keeps the newest 5,000 lines of the service Logs tab. |
| Log viewer buffer | 10,000 lines | The console keeps the newest 10,000 lines of the environment logs panel. The deployment detail card loads at most the first 5,000 lines of a build log (5 pages of 1,000) and, for runtime output, the latest 200 retained lines plus at most 1,000 live lines. |
Log search
Limits on the log query behind the search box and the live tail. A query over a limit answers 422 with the position of the problem, and the live tail ends with a refused: comment.
| Limit | Value | Applies to |
|---|---|---|
| Query text | At most 1,024 bytes | The whole query. |
| Terms | At most 32 | Words, phrases and fields together. |
| Nesting | At most 8 levels | Parentheses and - exclusions, counted together. |
| JSON line size | At most 64 KiB | A line longer than this has no fields for @field terms. |
| Lines read per search request | At most 20,000 | A query that only the control plane can judge, such as one with OR, groups or JSON fields, can return a short page with a cursor when 20,000 lines held too few matches. Follow the cursor to read on. |
Notifications
Limits on notifications and their channels.
| Limit | Value | Applies to |
|---|---|---|
| Channel label | 1 to 100 bytes | The label with surrounding whitespace trimmed. A label outside the range answers 422. |
| Delivery attempts | At most 24 | After 24 failed attempts the channel gives up on that notification. A refusal that retrying cannot fix, such as an HTTP 4xx other than 408 or 429 or a host that resolves only to private addresses, gives up on the first attempt. |
| Retry delay | 30 seconds, doubling to at most 1 hour | The wait after each failed delivery. |
| Delivery time | 10 seconds | One send to a Slack, PagerDuty or webhook channel. A slower response counts as a failed attempt. An email send has its own limit under Webhook and email channels. |
| Slack message text | At most 3,000 bytes | The text of a section block, title and body together. Longer text is truncated and ends in …. |
| PagerDuty summary | At most 1,024 bytes | The summary, which is the notification title. A longer summary is truncated and ends in …. |
| Channel projects | At most 200 | The projects one channel is limited to. More answers 422; choose all projects instead. |
| Receiver reply kept | The first 512 bytes | The part of a webhook receiver's reply that is read to explain a refusal. |
Webhook and email channels
Limits on webhook and email channels and on the organization's mail server. A value outside a limit answers 422. The shape of what a webhook receives is in the webhook payload.
| Limit | Value | Applies to |
|---|---|---|
| Webhook URL | At most 2,048 bytes | An absolute https URL without a username or password. A URL on any other scheme is refused. |
| Webhook headers | At most 10 | Custom headers of one webhook channel. A name appears once. |
| Header name | 1 to 64 bytes | Letters, digits and the punctuation an HTTP header name allows. Host, Content-Length, Content-Type, Transfer-Encoding, Connection, TE, Trailer, Upgrade, User-Agent and any name starting with Proxy- or X-Nebula- are reserved. |
| Header value | 1 to 2,048 bytes | No line breaks. The API returns •••• for a stored value. |
| Email recipients | 1 to 20 | Addresses of one email channel. Repeated addresses count once. |
| Email address | At most 254 bytes | A plain address such as [email protected], without a display name. |
| Email subject | At most 150 characters | The subject after the [NebulaCtrl] prefix. A longer subject is cut and ends in …. |
| SMTP host | 1 to 253 characters | A host name or IPv4 address, without a scheme or port. |
| SMTP port | 1 to 65,535 | The usual ports are 587 for STARTTLS and 465 for TLS. |
| SMTP security | starttls or tls | There is no plain option. The connection uses TLS 1.2 or newer. |
| SMTP username | At most 255 bytes | No control characters. |
| SMTP password | At most 1,024 bytes | No line breaks. A password needs a username. |
| SMTP sender address | At most 254 bytes | One plain address. |
| SMTP conversation time | 30 seconds | One send or one verification of the mail server. A slower conversation counts as a failed attempt. |
Alerts
Limits on the alert rules of a service. A threshold outside its range answers 422 and names the range.
| Limit | Value | Applies to |
|---|---|---|
| Volume usage threshold | 10 to 99 percent | Default 85, on. The alert opens when any volume of the service is fuller than the threshold, and is critical from 95 percent. |
| Memory usage threshold | 10 to 99 percent | Default 90, on. The alert opens when memory stays above the threshold, as a share of the memory limit, for 5 minutes. It is critical from 97 percent. |
| Restart loop threshold | 2 to 100 restarts | Default 3, on. The alert opens at that many container restarts within 10 minutes and is always critical. |
| CPU usage threshold | 10 to 99 percent | Default 90, off. The alert opens when CPU stays above the threshold, as a share of the CPU limit, for 10 minutes. It is never critical. |
| Recovery margin | 5 percentage points | A volume, memory or CPU alert resolves once the reading falls 5 points below its threshold. |
| Evaluation interval | Every 1 minute | Each serving service is measured once a minute. |
| Reading age | 3 minutes; 10 minutes for a volume | A service whose newest reading is older neither opens nor resolves an alert. |
| Unmeasurable alert | 30 minutes | An alert that nothing has been able to measure for this long resolves with the reason not_reported. |
| Reading shown as current | 5 minutes | The console stops showing a rule's last reading as current after this time. |
| Resolved alerts listed | 7 days | The resolved list reaches back 7 days. |
| Resolved alert history | 30 days | Resolved alerts older than 30 days are deleted. |
Git connections
Limits on an organization's git connections.
| Limit | Value | Applies to |
|---|---|---|
| Connection label | 1 to 20 bytes | A label outside the range, or one that starts with GitHub or Gist in any case, answers 422. A label already used in the organization answers 409. |
| Webhook body | At most 1 MiB | A larger webhook delivery is refused. |
Organizations and access
Limits on organizations, members and teams and API tokens.
| Limit | Value | Applies to |
|---|---|---|
| Organization slug | 1 to 63 characters | Lowercase letters and digits in single-hyphen-separated segments. A slug outside the shape answers 422. |
| Invitation lifetime | 7 days | An invitation that is not accepted expires. Accepting it afterwards answers 409. |
| Browser session | 30 days | A session ends 30 days after sign-in, however active it is. |
| Browser session idle timeout | 7 days | A session ends after 7 days without a request. An organization can set a shorter limit, 1 hour to 30 days; the shorter of the two applies, so a value above 7 days changes nothing. |
| Recent sign-in | 15 minutes | Creating an API token, changing the security policy or the session timeout, making someone an admin, changing the recovery window and Delete now need a browser session that signed in within 15 minutes. The refusal is 403 with the code reauthentication_required. API tokens are not asked. |
| Sign-in flow | 10 minutes | The time between starting a sign-in and its callback. |
| API token lifetime | 1 day or more | lifetimeDays. A value below 1 answers 422. A token created without it never expires. |
| API token project list | At least 1 project | A token limited to projects must name at least one. An empty list answers 422. Omit the list for a token that reaches every project. |
Deleted resources
Limits on the recovery window that keeps a deleted service, database, volume, environment or project restorable.
| Limit | Value | Applies to |
|---|---|---|
| Recovery window | 0 to 168 hours | The organization setting. The default is 48 hours. 0 deletes at once, and 168 hours is 7 days. A value outside the range answers 422. A change applies to later deletes only; a resource already deleted keeps its deadline. |
| Name reservation | The whole window | The slug or volume name of a deleted resource stays taken until the window ends, so a new resource cannot reuse it. |
Updates
Limits on updates of the control plane and the cluster agents.
| Limit | Value | Applies to |
|---|---|---|
| Automatic update check | Every 6 hours | The control plane checks the release feed and the K3s channel feed. |
| Forced update check | Once every 30 seconds | A check requested within 30 seconds of the last one returns the last result without a new lookup. |
| Updater online window | 2 minutes | The console offers an update only if the updater polled within this time. |
| Update with no updater poll | 15 minutes | A running update with no updater poll for this long is marked failed. |
| Update history | 10 updates | The finished control plane updates the console lists. |
Command palette
Limits on what the command palette lists.
| Limit | Value | Applies to |
|---|---|---|
| Results drawn | 10 | The rows shown at once. A footer counts the rest. |
| Projects, services and clusters loaded | 200 each | The palette loads the first 200 of each, so a resource past them is not found by name. |
| Services needing attention | 3 | The unhealthy services listed first on an empty prompt. |
| Recent rows | 3 shown, 24 remembered | The rows you used last, which also weight a typed search. |
| Settings rows per query | 60 | A broad word lists the first 60 matching settings. |