docs(skills/olares-chart): clarify userspace mount paths to prevent broken volumes#3436
Closed
pengpeng wants to merge 2 commits into
Closed
docs(skills/olares-chart): clarify userspace mount paths to prevent broken volumes#3436pengpeng wants to merge 2 commits into
pengpeng wants to merge 2 commits into
Conversation
…roken volumes
The manifest §2 storage example mounted `{{ .Values.userspace.appData }}/myapp`,
re-appending the app name and contradicting system-values.md / platform.md, which
state appData/appCache values already end in `/<appName>` (owned by uid 1000).
Agents copying it produced double-suffixed (`.../Data/<app>/<app>`) mounts.
- Mount the bare value; document that appCommon is the bare cross-app exception.
- Warn that an appended subdir or `subPath` is created root-owned, so a uid-1000
process hits Permission denied -> CrashLoop; mount bare, create at runtime, or
chown via initContainer; avoid subPath for userspace mounts.
- Add the matching symptom row to run-as-user.md "Symptoms -> fix".
Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…ission issue The run-as-user "Symptoms -> fix" table was entirely permission-centric, which biases diagnosis toward chown/runAsUser even when the container exits cleanly. Add the missing non-permission class. - run-as-user.md: note that not every CrashLoop is a permission problem (read terminated.exitCode/reason first) and add a row for exitCode 0 / Completed / empty logs -> explicit command/args, pin by digest. - deploy.md §3: add an empty-logs triage block. cluster pod get -o json trims lastState, so restart the workload and poll state to catch the terminated snapshot, then split exit 0/Completed vs exit!=0 vs CreateContainerConfigError. Add the matching row to the §4 log table. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
olares-chart-manifest.md§2 storage example mounted{{ .Values.userspace.appData }}/myapp, re-appending the app name. This contradictsolares-chart-system-values.mdand the platform storage model, which stateappData/appCachevalues already end in/<appName>(created and owned by uid 1000). Agents copying the example produced double-suffixed (.../Data/<app>/<app>) mounts./<appName>— don't re-append;appCommonis the bare cross-app exception (append the reserved cache name, e.g./huggingface); (2) an appended subdir orsubPathis created root-owned, so a uid-1000 process (spec.runAsUser: true) hitsPermission denied→ CrashLoop — mount bare, create the subdir at runtime, orchownvia initContainer; avoidsubPathfor userspace mounts.olares-chart-run-as-user.md"Symptoms → fix".Why
Doc-only consistency fix. The contradictory example was a recurring foot-gun for agents authoring charts.
Test plan
olares-chart-manifest.md§2 andolares-chart-run-as-user.mdsymptom table.Made with Cursor