Skip to content

docs: add resource limits page for Talos Containers - #894

Draft
Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:talos-containers-resource-limits
Draft

Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:talos-containers-resource-limits

Conversation

@Iheanacho-ai

Copy link
Copy Markdown
Member

What

Adds Configure Resource Limits for a Talos Container to the v1.14 and v1.15 docs.

Why

Talos Containers share the machine's CPU and memory with Kubernetes workloads and system services.

Change

  • Covers CPU and memory limits for a single container, and what happens when a container reaches each limit.
  • The v1.15 copy adds WorkloadResourceConfig and CPUPartitionConfig for limiting all containers together.

Part of #885

Testing

  • Ran: checked against the generated reference and the Talos source.
  • Filled from outside the page: none.

@mintlify

mintlify Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 6efeaa2.

Approve preview

@github-project-automation github-project-automation Bot moved this to To Do in Planning Oct 29, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Oct 29, 2026
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

📋 Automated documentation review

⚠️ The reviewer did not finish on commit 6efeaa2 (it timed out or errored) — see the workflow run log. This run did not produce a result; any findings from an earlier run on this PR still stand.

@Iheanacho-ai
Iheanacho-ai marked this pull request as draft October 29, 2026 08:47
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-resource-limits branch from 576205b to cafeb2e Compare October 29, 2026 10:11
@smira smira removed this from Planning Oct 29, 2026
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-resource-limits branch 3 times, most recently from cafeb2e to d752c17 Compare November 4, 2026 08:03
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-resource-limits branch from d752c17 to d7c121b Compare November 13, 2026 14:50
@github-actions

Copy link
Copy Markdown

📋 Automated documentation review

An automated pass runs on documentation changes in every PR. The items below are suggestions to consider — advisory, not a merge gate.

Reviewed commit d7c121b · 🔴 0 critical · 🟡 5 warning(s) · ⚪ 2 notice(s)

  • 🟡 public/talos/v1.14/talos-containers/configure-resource-limits.mdx:45 — Link to inspect-and-troubleshoot-talos-containers points at a page that does not exist.
    • Why: No file named inspect-and-troubleshoot-talos-containers.mdx exists anywhere in the repository, so the reader gets a 404 and make broken-links fails CI.
    • Fix: Add the target page in the same change, or remove the Next steps entry until it exists.
  • 🟡 public/talos/v1.14/talos-containers/configure-resource-limits.mdx:1 — New talos/v1.14/talos-containers directory is not referenced by any navigation YAML.
    • Why: talos-v1.14.yaml has no group with folder talos/v1.14/talos-containers, so the page never appears on the site and make validate-docs-nav, make check-missing and the docs.json freshness check all fail.
    • Fix: Add a group with folder: "talos/v1.14/talos-containers" to talos-v1.14.yaml and run make docs.json, committing the regenerated file.
  • 🟡 public/talos/v1.15/talos-containers/configure-resource-limits.mdx:23 — Restart policy link to how-talos-containers-work#container-lifecycle targets a nonexistent page.
    • Why: how-talos-containers-work.mdx does not exist in the repository, so the link and its anchor are dead and make broken-links fails CI; the claim about the restart policy itself is correct for v1.15.
    • Fix: Link to ../reference/configuration/container/containerconfig#restart, or land how-talos-containers-work.mdx in the same change.
  • 🟡 public/talos/v1.15/talos-containers/configure-resource-limits.mdx:86 — Link to inspect-and-troubleshoot-talos-containers points at a page that does not exist.
    • Why: No file named inspect-and-troubleshoot-talos-containers.mdx exists anywhere in the repository, so the reader gets a 404 and make broken-links fails CI.
    • Fix: Add the target page in the same change, or remove the Next steps entry until it exists.
  • 🟡 public/talos/v1.15/talos-containers/configure-resource-limits.mdx:1 — New talos/v1.15/talos-containers directory is not referenced by any navigation YAML.
    • Why: talos-v1.15.yaml has no group with folder talos/v1.15/talos-containers, so the page never appears on the site and make validate-docs-nav, make check-missing and the docs.json freshness check all fail.
    • Fix: Add a group with folder: "talos/v1.15/talos-containers" to talos-v1.15.yaml and run make docs.json, committing the regenerated file.

Notices, and the reviewer's full report, are in the run's doc-accuracy-report artifact.

@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-resource-limits branch from d7c121b to f7f3a9a Compare November 29, 2026 17:28
Add a how-to page to the v1.14 and v1.15 docs covering CPU and memory
limits for a Talos Container. The v1.15 copy adds a swap limit for one
container and WorkloadResourceConfig for a combined memory limit on all
containers.

CPUPartitionConfig is left out: Talos records it, but nothing applies it
to the cgroups yet (tracked in #14535).

Part of siderolabs#885

Signed-off-by: Amarachi Iheanacho <amarachi.iheanacho@siderolabs.com>
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-resource-limits branch from f7f3a9a to 6efeaa2 Compare November 29, 2026 19:03

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants