Repository navigation
docs: add storage and configuration files page for Talos Containers - #942
Draft
Iheanacho-ai wants to merge 1 commit into
Draft
Iheanacho-ai wants to merge 1 commit into
Iheanacho-ai wants to merge 1 commit into
Conversation
Iheanacho-ai
marked this pull request as draft
November 17, 2026 08:08
📋 Automated documentation review
|
Contributor
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Iheanacho-ai
force-pushed
the
talos-containers-storage
branch
from
November 29, 2026 17:28
86a190b to
b73362b
Compare
Iheanacho-ai
force-pushed
the
talos-containers-storage
branch
from
November 29, 2026 19:03
b73362b to
4850674
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the "Add Storage and Configuration Files" page for Talos Containers, in both the v1.14 and v1.15 docs.
Closes #884. This is one of the Talos Containers page PRs that are combined for preview in #897.
Why
The Talos Containers nav lists this page, but it didn't exist yet. It was blocked on talos#14730, the rename of
mounts[].userVolumetovolume, which shipped in v1.15.0-beta.0. Without the page, How Talos Containers Work linked to it twice and #897 had broken links.Change
v1.15 page (
talos/v1.15/talos-containers/add-storage-and-configuration-files.mdx):volume,tmpfsandhostPath, plusdestinationand therooption.ro.0755. A run-once root container with theCHOWNcapability prepares a directory, and the application container waits for it with thesucceededcondition.tmpfswithsize, and contents lost when the container stops.hostPathmust already exist, otherwise the container restarts in a loop. To wait for it, uselifecycle.dependsOn.paths.EtcFileConfigplus ahostPathmount of the file's directory. A single-file mount keeps the old contents after an update, because Talos replaces the file.RawVolumeConfigplusdevices[].rawVolume. Root only (the device node is0600), one container per raw volume, and it works with therestrictedprofile.v1.14 page: The same structure, with the v1.14 behavior:
userVolumemounts, for user volumes only.dependsOn.pathsinstead oflifecycle.dependsOn.paths.neverpolicy orsucceededcondition) and no block device section.Testing
Tested on AWS, with one Talos v1.14.5 node and one v1.15.0-beta.0 node, each with a second disk for a user volume and a raw volume.
CHOWNpattern let a uid 65534 container write.CHOWN,chownfailed with "Operation not permitted".tmpfs: Thesizelimit was enforced ("No space left on device"), and the contents were gone after a restart.hostPath: A read-only mount rejected writes. A missing source made the container fail to start and restart in a loop.EtcFileConfig: On both versions, a single-file mount still showed the old contents after an update, and a directory mount showed the new ones. Talos created the subdirectory./dev/dataunderrestricted. A non-root user was denied, and a second container using the same raw volume was rejected.make style-check-changedandmake check-frontmatter-changedpass, and every link and anchor on both pages resolves.validate-docs-navpasses once combined with the nav branch, as in docs: add Talos Containers documentation #897.