Skip to content

docs(profiles): promote image variants to its own section, de-duplicate gpu-instance - #250

Open
tylerpotts wants to merge 1 commit into
mainfrom
docs/image-variants-section
Open

tylerpotts wants to merge 1 commit into
mainfrom
docs/image-variants-section

Conversation

@tylerpotts

@tylerpotts tylerpotts commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #237, addressing the docs suggestion in the approving review there.

Problem

server-profiles.md described gpu-instance twice and the reader hit the wrong one first. The example under "Gating profiles by group" was a full GPU profile (same slug, same display name, nvidia.com/gpu: 1) with no image-variant, and it came after "Image choices within a profile" had already shown profile_options.image, the key that defeats the injection. Someone scrolling for "how do I get GPUs" would stop at the gating example, copy it, and land on a GPU node running the CPU image, which is exactly #230.

Changes

  • New ## Image variants section right after "Adding a profile" and before "Image choices within a profile". The content is the former "The GPU image, without hardcoding a SHA" subsection, moved up and reworded to say plainly that image-variant: gpu is the expected way to define a GPU profile. Cross-links to gating and scheduling.
  • ## GPU profiles stays where it was and now only covers tolerations and scheduling, with a one-line pointer up to Image variants for the image. The lone ### Scheduling onto GPU nodes sub-heading is flattened.
  • Gating example is now a non-GPU profile (large-instance gated to a group plus a user), so it reads as a gating example rather than a second GPU recipe. A sentence below it points GPU readers at the real recipe.
  • "Image choices within a profile" gains a one-line warning not to add profile_options.image to an image-variant profile.
  • values-reference.md: the image-variants row now links to #image-variants instead of #gpu-profiles.

Docs only. No chart or spawner changes.

…te gpu-instance

Review feedback on #237: server-profiles.md described gpu-instance twice and
the reader hit the wrong one first. The gating example was a full GPU profile
with no image-variant, so copying it put the CPU image on a GPU node, the
exact failure #230 is about.

- Pull the image-variant discussion out of "GPU profiles" into a top-level
  "Image variants" section placed right after "Adding a profile", before
  "Image choices within a profile", so readers see the key before they see
  profile_options.image (which defeats the injection).
- State plainly that image-variant: gpu is the expected way to define a GPU
  profile; the GPU profiles section now points there and only covers
  scheduling.
- Turn the gating example into a non-GPU profile so it reads as a gating
  example rather than a second GPU recipe, with a pointer to the real one.
- Warn in "Image choices" not to combine profile_options.image with
  image-variant.
- Point the values-reference image-variants row at the new anchor.
@tylerpotts
tylerpotts changed the base branch from feat/gpu-profile-image-230 to main September 14, 2026 14:28
@tylerpotts
tylerpotts force-pushed the docs/image-variants-section branch from 7f74315 to b94a455 Compare September 14, 2026 14:28
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview for docs/image-variants-section:
https://docs-image-variants-section.data-science-pack.pages.dev

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.

2 participants