Skip to content

[k8s] Clarified the usage of shared memory.#4341

Merged
zhaochenyang20 merged 1 commit intosgl-project:mainfrom
jsuchome:k8smanifest
Mar 27, 2025
Merged

[k8s] Clarified the usage of shared memory.#4341
zhaochenyang20 merged 1 commit intosgl-project:mainfrom
jsuchome:k8smanifest

Conversation

@jsuchome
Copy link
Copy Markdown
Contributor

@jsuchome jsuchome commented Mar 12, 2025

Added extended shared memory for default kubernetes manigest. Also, point various cache directories to writable /tmp so that pod does not need to be run as root.

Motivation

Added some more clarification for the usage of shared memory increase. It's necessary for single node installation too, if one wants to use some parallelism techniques. See #4259

Also, k8s pod does not need to run with root security context, but it needs some tinkering.

Modifications

  • small update on the parallelism docs page
  • extended basic k8s manifest to include increased shared memory volume
    - additionally added env variables to enforce creating caches in writable volume, so that the pod can be run as non-root

Checklist

Loading
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.

4 participants