Skip to content

docs: add Templates and Content Libraries for Talos Director - #956

Draft
Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:director-templates-content-libraries
Draft

Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:director-templates-content-libraries

Conversation

@Iheanacho-ai

@Iheanacho-ai Iheanacho-ai commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

What

Adds two pages for templates and content libraries in Talos Director:

  • Templates and Content Libraries (reference): What content libraries and templates are, how they relate, and a walkthrough of the Templates screen.
  • Manage Templates and Content Libraries (how-to): How to create and share content libraries, add templates, deploy VMs from templates, and upload new template versions.

Why

No page covered content libraries or templates. The existing pages only mentioned them in passing. Templates are how most VMs get their operating system, and Create a Virtual Machine (#947, for #820) links here from its Template tab.

#821 asks for a reference page. Writing it showed that the tasks (creating a content library, adding templates, sharing between instances) don't fit a reference page, so they're on a separate how-to page. The how-to page has no issue of its own.

Change

  • New page director/compute/templates-and-content-libraries.mdx (reference):
    • Content libraries and templates: Definitions, an example, how the two relate, the types of content libraries (owned and subscribed), and the types of templates (VM template and ISO image).
    • The Templates screen: The summary cards, and the Templates, Libraries, and Activity tabs, with each tab's filters, table columns, and Actions menu.
  • New page director/compute/manage-templates-and-content-libraries.mdx (how-to):
    • Manage content libraries: Create a content library, with tabs for each storage backing. Share a content library between instances, by publishing it, subscribing to it, and managing the subscription.
    • Manage templates: Add a template from a file, a URL, or a VM. Deploy a VM from a template. Upload a new version of a template.
    • Each field is described in the step where it's filled in.
  • The two pages link to each other: the how-to steps point to the reference sections, and the reference page's buttons and actions point to the how-to sections.
  • Navigation: Both pages are added to director.yaml under Compute, after Virtual Machines, and docs.json is regenerated. The issue proposes a "Virtual machines" nav group, which doesn't exist yet.

Testing

  • Every field, default, and option was checked against the live console at demo.director.siderolabs.io. Dialogs were opened and cancelled, and nothing was created, uploaded, synced, or published.
  • Behaviour the dialogs don't show was confirmed from the console's front-end code: the Hosts and Status columns, Download, Last Sync retries, and Unsubscribe.
  • Checked both pages in a local Mintlify preview. All links between the two pages resolve to their sections.
  • make docs.json-local, make validate-docs-nav, and make check-frontmatter-changed pass. make style-check-local reports no errors. The remaining warnings are sentence-case warnings on headings that use console names.
  • Expected CI failure: The how-to page links to /director/compute/create-a-virtual-machine, which is added by docs: add Create a Virtual Machine for Talos Director #947. make broken-links fails on this branch until docs: add Create a Virtual Machine for Talos Director #947 merges. Both PRs add lines after virtual-machines.mdx in director.yaml, so the second one to merge needs a one-line rebase.

Open questions

These are left out of the pages until engineering confirms them:

  • What Sync Now does on an owned (not subscribed) library.
  • What the Cloud Configs type filter shows. The demo has no cloud-config templates, and the upload dialogs can't create one.
  • Whether the Status column has states other than Cached. It always shows Cached today.
  • Sharing was checked only as far as the dialogs. The demo is a single instance, so publish and subscribe weren't tested end to end, and how the subscription URL and token are shown after Publish isn't verified.

Closes #821

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

📋 Automated documentation review

⚠️ The reviewer did not finish on commit 2d4d295 (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.

@mintlify

mintlify Bot commented Nov 26, 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 2d4d295.

Approve preview

@Iheanacho-ai
Iheanacho-ai force-pushed the director-templates-content-libraries branch from 27ce996 to 2d4d295 Compare November 26, 2026 13:52
@Iheanacho-ai
Iheanacho-ai marked this pull request as draft November 26, 2026 13:55

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Talos Director docs: Templates and Content Libraries

1 participant