Skip to content

docs(WIP): Refactor and reorganize docs site sidebar structure - #9239

Closed
Jont828 wants to merge 2 commits into
ai-dynamo:mainfrom
Jont828:dynamo-full-docs-refactor
Closed

Jont828 wants to merge 2 commits into
ai-dynamo:mainfrom
Jont828:dynamo-full-docs-refactor

Conversation

@Jont828

@Jont828 Jont828 commented May 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Reorganize the Fern docs sidebar (index.yml) to improve navigation and grouping of content
  • Restructure cloud provider guides into per-provider folders (AKS, EKS, GKE, ECS) with dedicated sub-pages
  • Add landing pages for collapsible sidebar entries and fix broken links

Notes

This is primarily a site organization/structure change — content itself is not changing significantly. The goal is to make the sidebar more intuitive and the docs easier to navigate.

Test plan

  • Verify Fern docs site builds and renders correctly
  • Check that all sidebar links resolve properly
  • Confirm cloud provider sub-pages are accessible and correctly nested

Open in Devin Review

Summary by CodeRabbit

  • Documentation
    • Updated navigation routes and sidebar organization for improved accessibility
    • Added Kubernetes deployment quickstart guide for accelerated setup
    • New cloud provider-specific deployment guides for AKS, EKS, GKE, and ECS environments
    • Enhanced model deployment guidance and caching configuration documentation
    • Expanded troubleshooting and installation verification resources

@copy-pr-bot

copy-pr-bot Bot commented May 6, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

👋 Hi Jont828! Thank you for contributing to ai-dynamo/dynamo.

Just a reminder: The NVIDIA Test Github Validation CI runs an essential subset of the testing framework to quickly catch errors.Your PR reviewers may elect to test the changes comprehensively before approving your changes.

🚀

@github-actions github-actions Bot added docs external-contribution Pull request is from an external contributor documentation Improvements or additions to documentation labels May 6, 2026
@coderabbitai

coderabbitai Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

This PR restructures and expands Kubernetes deployment documentation. It updates navigation entry points in the quickstart and sidebar configuration, streamlines the Kubernetes README from a comprehensive deployment reference to a focused quickstart, refreshes core Kubernetes documentation (DGDR reference, installation guide, model caching, and model deployment guide), and adds comprehensive cloud-provider-specific deployment guides for AWS EKS, AWS ECS, Google GKE, and Azure AKS.

Changes

Kubernetes Deployment Documentation Reorganization

Layer / File(s) Summary
Navigation Entry Points
docs/getting-started/quickstart.mdx, docs/index.yml
Quickstart navigation links updated to point to /dynamo/dev/getting-started/kubernetes-deployment and reorganized routing/observability card references. index.yml sidebar substantially expanded with new "Getting Started", "Usage", "Architecture", "Advanced" sections and granular subsections for CLI, Kubernetes topics, backend examples, and architecture components.
Quickstart & Core Guides
docs/kubernetes/README.md, docs/kubernetes/dgdr.md
Kubernetes README rewritten from broad deployment guide to focused quickstart with prerequisites, GPU Operator install, Dynamo installation via Helm, and example first-model deployment. DGDR.md replaced tutorial content with comprehensive reference documentation including spec fields, lifecycle phases, monitoring commands, and resource ownership semantics.
Reference Documentation Updates
docs/kubernetes/installation-guide.md, docs/kubernetes/model-caching.md, docs/kubernetes/model-deployment-guide.md
Installation guide restructured into 4-step flow with optional-components matrix and updated troubleshooting. Model-caching guide adds snapshot path discovery instructions. Model-deployment-guide populated with complete DGDR workflow, search strategy guidance, AIC support matrix, multinode prerequisites, backend selection rules, and example deployment YAML patterns.
Cloud Provider Deployment Guides
docs/kubernetes/cloud-providers/aks/*.md, docs/kubernetes/cloud-providers/eks/*.md, docs/kubernetes/cloud-providers/gke/*.md, docs/kubernetes/cloud-providers/ecs/*.md
New comprehensive guides added for Azure AKS (main guide + RDMA/InfiniBand, Azure Lustre CSI, Spot VMs, storage options), AWS EKS (main guide + EFS setup), AWS ECS vLLM deployment, and Google GKE deployment. Each includes cluster setup, GPU operator/driver configuration, Dynamo installation, example workload deployment, and platform-specific features (e.g., EFA, ODCR, capacity blocks, RDMA).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title mentions the main change (refactor and reorganize docs sidebar structure) but is vague with 'WIP' and doesn't clearly convey what was reorganized or the scope of changes. Replace 'WIP' with a clearer scope indicator and consider if title should reflect cloud provider restructuring as a key aspect of the PR.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description covers the main objectives (sidebar reorganization, cloud provider restructuring, landing pages) and provides context about site organization changes, but the test plan items are not checked off.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch dynamo-full-docs-refactor

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 8

🧹 Nitpick comments (5)
docs/kubernetes/cloud-providers/eks/eks.md (2)

20-21: 💤 Low value

Version drift across cloud-provider guides.

DYNAMO_RELEASE_VERSION="1.0.0" here (and the vllm-runtime:1.0.0-efa-amd64 image on Line 232) lags RELEASE_VERSION=1.0.2 in docs/kubernetes/installation-guide.md (Line 86) and the dynamo-planner:1.0.2 chart referenced from docs/kubernetes/README.md (Line 94). Aligning to a single version in this PR avoids the situation where a user mixes 1.0.0 EFA images with a 1.0.2 platform chart.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/cloud-providers/eks/eks.md` around lines 20 - 21, Update the
version strings in this guide to match the canonical RELEASE_VERSION (1.0.2):
change DYNAMO_RELEASE_VERSION="1.0.0" to "1.0.2" and update the vllm-runtime
image tag from vllm-runtime:1.0.0-efa-amd64 to vllm-runtime:1.0.2-efa-amd64 so
the DYNAMO_RELEASE_VERSION and vllm-runtime references align with
RELEASE_VERSION=1.0.2 used elsewhere.

63-86: ⚡ Quick win

Document where templates/eksctl.yaml and automode-np-gpu.yaml come from.

Lines 76 and 85 reference local files (templates/eksctl.yaml, automode-np-gpu.yaml) without telling the reader to clone the repo, cd into a specific directory, or where these manifests live. A reader following the docs site directly will hit "file not found". Either inline the manifests or add an explicit "clone the repo and cd to <path>" preamble.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/cloud-providers/eks/eks.md` around lines 63 - 86, Add a short
preamble before the eksctl and kubectl examples that tells readers to clone the
repo and change into the directory that contains the manifests (or points them
to the specific location of templates/eksctl.yaml and automode-np-gpu.yaml in
the repo); e.g., instruct to run a git clone of the repository and cd into the
path that contains the templates directory (or, as an alternative, state that
the manifests are included inline below and provide their filenames
templates/eksctl.yaml and automode-np-gpu.yaml). Ensure the text mentions both
filenames exactly so users know where to find templates/eksctl.yaml and
automode-np-gpu.yaml before running eksctl or kubectl.
docs/kubernetes/cloud-providers/eks/efs.md (1)

167-169: 💤 Low value

Make the namespace creation idempotent.

kubectl create namespace ${DYNAMO_NAMESPACE} will return a non-zero AlreadyExists error on re-runs, which can derail copy-paste workflows. Prefer the apply-from-stdin idiom.

♻️ Suggested fix
-# Create the namespace we will use for Dynamo if not already exists
-kubectl create namespace ${DYNAMO_NAMESPACE}
+# Create the namespace we will use for Dynamo if not already exists
+kubectl create namespace ${DYNAMO_NAMESPACE} --dry-run=client -o yaml | kubectl apply -f -
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/cloud-providers/eks/efs.md` around lines 167 - 169, Replace
the non-idempotent kubectl create namespace ${DYNAMO_NAMESPACE} with the
apply-from-stdin pattern so re-runs don't fail; generate a Namespace manifest
with metadata.name set to ${DYNAMO_NAMESPACE} and pipe it to kubectl apply -f -
(or produce the same via kubectl create namespace ${DYNAMO_NAMESPACE}
--dry-run=client -o yaml | kubectl apply -f -) so the step is idempotent and
safe for repeated runs.
docs/kubernetes/installation-guide.md (1)

88-105: ⚡ Quick win

Fragile copy-paste shape of the helm install block.

As written, --create-namespace (Line 92) has no trailing \, so any of the optional flags on Lines 97–104 that a user uncomments are silently dropped from the command unless they also remember to add the backslash above. The note on Line 93 mentions this but it is easy to miss, and the failure mode (helm install succeeds but global.grove.install / prometheusEndpoint is never applied) is hard to diagnose.

Consider keeping --create-namespace always followed by \ and ending the multi-line command with a benign trailing flag (e.g. --wait or a final --set-string foo=foo that's also commented). Or split each optional component into its own helm upgrade --reuse-values --set ... snippet.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/installation-guide.md` around lines 88 - 105, The helm
install block is fragile because the --create-namespace line in the multi-line
command (helm install dynamo-platform ...) lacks a trailing backslash so
uncommenting any of the optional --set lines will silently drop them; fix by
ensuring the multi-line command stays valid—either add a trailing backslash
after --create-namespace and end the block with a benign trailing flag such as
--wait (or a commented harmless --set-string) so uncommented lines are applied,
or alternatively present each optional change as a separate helm upgrade
--reuse-values --set ... snippet (referencing the helm install dynamo-platform
command and the optional --set "global.grove..." / --set
"dynamo-operator.dynamo.metrics.prometheusEndpoint=..." lines) so users cannot
accidentally omit flags via copy‑paste.
docs/kubernetes/README.md (1)

53-59: 💤 Low value

Pre-deployment script path won't resolve for docs-site readers.

./deploy/pre-deployment/pre-deployment-check.sh is a repo-relative path. A reader of the rendered docs site won't have a local working copy at the right cwd. Consider either linking to the script in the repo (as installation-guide.md Line 227 does for the README) or noting that this requires a clone of ai-dynamo/dynamo.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/README.md` around lines 53 - 59, Update the
docs/kubernetes/README.md entry that references
"./deploy/pre-deployment/pre-deployment-check.sh" so it works for docs-site
readers: either replace the repo-relative path with a link to the script in the
repository (same style used in installation-guide.md for the README) or add a
clear note that this step requires cloning the ai-dynamo/dynamo repo and running
the script from the repository root; ensure the referenced path string
"./deploy/pre-deployment/pre-deployment-check.sh" and the verification step
header ("Verify cluster is ready") are updated accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/kubernetes/cloud-providers/aks/azure-lustre-csi.md`:
- Around line 231-240: The IAM permissions code fence containing entries like
"Microsoft.StorageCache/amlFilesystems/read",
"Microsoft.Network/virtualNetworks/subnets/join/action", and others should
include a language identifier for proper rendering; update the opening
triple-backtick that wraps those permission lines to "```text" so the block
becomes a text code fence (keep the permission list unchanged).

In `@docs/kubernetes/cloud-providers/ecs/ecs.md`:
- Line 81: Replace the typo "prebuild" with "prebuilt" in the sentence that
reads "Add your Image URL (You can use the prebuild [Dynamo
container](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/ai-dynamo/containers/vllm-runtime))
and **Yes** for Essential container." so it reads "prebuilt" to correctly
describe the container; update the same occurrence elsewhere if duplicated.

In `@docs/kubernetes/cloud-providers/eks/eks.md`:
- Line 313: Fix the typo in the sentence "the initial request for each worker
will occur increased latency" by replacing "occur" with "incur" so it reads "the
initial request for each worker will incur increased latency"; update the exact
sentence in docs/kubernetes/cloud-providers/eks/eks.md accordingly to preserve
surrounding wording and punctuation.
- Around line 35-42: The kubectl download in the EKS doc uses the Darwin amd64
binary while the surrounding steps are Linux-only; update the kubectl download
URL to the Linux amd64 variant (replace the darwin/amd64 path with linux/amd64)
and keep the chmod +x, mkdir/cp, and PATH export steps as-is; optionally add a
short parenthetical note listing the alternative URLs for macOS (darwin) and
Apple Silicon (darwin/arm64) so users on other platforms can pick the correct
binary.
- Around line 289-311: The example response's "model" field is inconsistent with
the request: the request uses "Qwen/Qwen3-32B" but the sample response shows
"Qwen/Qwen3-0.6B"; update the sample JSON to match the requested model and
deployment details (replace "Qwen/Qwen3-0.6B" with "Qwen/Qwen3-32B" and, if
present in metadata, reflect TP-2 and g7e.12xlarge where applicable) so the
documented request/response pair is consistent for readers verifying the
disaggregated-serving setup.

In `@docs/kubernetes/dgdr.md`:
- Around line 38-55: The docs reference to a non-existent "dynamo-planner" image
and the "Dynamo >= 1.1.0" rule is inconsistent with released artifacts; update
the examples and field description to use the released image
"dynamo-frontend:1.0.2" and remove the "Dynamo >= 1.1.0: use `dynamo-planner`"
rule. Specifically, edit the `image` field example and the accompanying sentence
referencing "Dynamo >= 1.1.0" in docs/kubernetes/dgdr.md (and mirror the same
change in README.md) so the `image` field shows `dynamo-frontend:1.0.2` and the
text describes using `dynamo-frontend` (no unreleasable version or planner
rename mentioned).

In `@docs/kubernetes/model-caching.md`:
- Around line 78-86: Update the two fenced code blocks showing the directory
structure to include the language identifier "text" after the opening triple
backticks so they render with correct syntax highlighting; specifically modify
the blocks containing "hub/models--<org>--<model>/snapshots/<commit-hash>/" and
"hub/models--meta-llama--Llama-3.1-70B-Instruct/snapshots/9d3b8e0f71f8c1e0f9b7c2a3d4e5f6a7b8c9d0e1/"
to start with ```text instead of ``` so the examples render properly.

In `@docs/kubernetes/README.md`:
- Around line 17-26: The HF token secret is being created without a namespace so
it lands in the current context (usually default) and won’t exist in
dynamo-system; update the docs so the secret creation happens in the same
namespace used for deployment: ensure NAMESPACE (or DYNAMO_NAMESPACE) is set
(e.g., NAMESPACE=dynamo-system), create the namespace if needed, and call
kubectl create secret generic hf-token-secret
--from-literal=HF_TOKEN="$HF_TOKEN" with -n "$NAMESPACE" (or equivalent using
DYNAMO_NAMESPACE) so the secret is present when the DGDR is applied.

---

Nitpick comments:
In `@docs/kubernetes/cloud-providers/eks/efs.md`:
- Around line 167-169: Replace the non-idempotent kubectl create namespace
${DYNAMO_NAMESPACE} with the apply-from-stdin pattern so re-runs don't fail;
generate a Namespace manifest with metadata.name set to ${DYNAMO_NAMESPACE} and
pipe it to kubectl apply -f - (or produce the same via kubectl create namespace
${DYNAMO_NAMESPACE} --dry-run=client -o yaml | kubectl apply -f -) so the step
is idempotent and safe for repeated runs.

In `@docs/kubernetes/cloud-providers/eks/eks.md`:
- Around line 20-21: Update the version strings in this guide to match the
canonical RELEASE_VERSION (1.0.2): change DYNAMO_RELEASE_VERSION="1.0.0" to
"1.0.2" and update the vllm-runtime image tag from vllm-runtime:1.0.0-efa-amd64
to vllm-runtime:1.0.2-efa-amd64 so the DYNAMO_RELEASE_VERSION and vllm-runtime
references align with RELEASE_VERSION=1.0.2 used elsewhere.
- Around line 63-86: Add a short preamble before the eksctl and kubectl examples
that tells readers to clone the repo and change into the directory that contains
the manifests (or points them to the specific location of templates/eksctl.yaml
and automode-np-gpu.yaml in the repo); e.g., instruct to run a git clone of the
repository and cd into the path that contains the templates directory (or, as an
alternative, state that the manifests are included inline below and provide
their filenames templates/eksctl.yaml and automode-np-gpu.yaml). Ensure the text
mentions both filenames exactly so users know where to find
templates/eksctl.yaml and automode-np-gpu.yaml before running eksctl or kubectl.

In `@docs/kubernetes/installation-guide.md`:
- Around line 88-105: The helm install block is fragile because the
--create-namespace line in the multi-line command (helm install dynamo-platform
...) lacks a trailing backslash so uncommenting any of the optional --set lines
will silently drop them; fix by ensuring the multi-line command stays
valid—either add a trailing backslash after --create-namespace and end the block
with a benign trailing flag such as --wait (or a commented harmless
--set-string) so uncommented lines are applied, or alternatively present each
optional change as a separate helm upgrade --reuse-values --set ... snippet
(referencing the helm install dynamo-platform command and the optional --set
"global.grove..." / --set
"dynamo-operator.dynamo.metrics.prometheusEndpoint=..." lines) so users cannot
accidentally omit flags via copy‑paste.

In `@docs/kubernetes/README.md`:
- Around line 53-59: Update the docs/kubernetes/README.md entry that references
"./deploy/pre-deployment/pre-deployment-check.sh" so it works for docs-site
readers: either replace the repo-relative path with a link to the script in the
repository (same style used in installation-guide.md for the README) or add a
clear note that this step requires cloning the ai-dynamo/dynamo repo and running
the script from the repository root; ensure the referenced path string
"./deploy/pre-deployment/pre-deployment-check.sh" and the verification step
header ("Verify cluster is ready") are updated accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7fd5208b-6a9d-48c3-a779-1ce77df7395f

📥 Commits

Reviewing files that changed from the base of the PR and between 30092a7 and 4512c7d.

📒 Files selected for processing (16)
  • docs/getting-started/quickstart.mdx
  • docs/index.yml
  • docs/kubernetes/README.md
  • docs/kubernetes/cloud-providers/aks/aks.md
  • docs/kubernetes/cloud-providers/aks/azure-lustre-csi.md
  • docs/kubernetes/cloud-providers/aks/rdma-infiniband.md
  • docs/kubernetes/cloud-providers/aks/spot-vms.md
  • docs/kubernetes/cloud-providers/aks/storage.md
  • docs/kubernetes/cloud-providers/ecs/ecs.md
  • docs/kubernetes/cloud-providers/eks/efs.md
  • docs/kubernetes/cloud-providers/eks/eks.md
  • docs/kubernetes/cloud-providers/gke/gke.md
  • docs/kubernetes/dgdr.md
  • docs/kubernetes/installation-guide.md
  • docs/kubernetes/model-caching.md
  • docs/kubernetes/model-deployment-guide.md

{"id":"chatcmpl-23a7c94b-99cb-42ca-ae56-2397aa5a560f","choices":[{"index":0,"message":{"content":"<think>\nOkay, so I need to develop a character background for someone who's an intrepid explorer in Eldoria, specifically focusing on their motivations,","role":"assistant","reasoning_content":null},"finish_reason":"length"}],"created":1773336002,"model":"Qwen/Qwen3-0.6B","object":"chat.completion","usage":{"prompt_tokens":196,"completion_tokens":30,"total_tokens":226,"prompt_tokens_details":{"audio_tokens":null,"cached_tokens":192}},"nvext":{"worker_id":{"prefill_worker_id":4265733549773195,"prefill_dp_rank":0,"decode_worker_id":7535192362430132,"decode_dp_rank":0},"timing":{"request_received_ms":1773336002136,"prefill_wait_time_ms":0.852483,"prefill_time_ms":12.90597,"ttft_ms":13.758453000000001,"total_time_ms":110.89621500000001,"kv_hit_rate":0.0}}}
```

*Note: The initial request for each worker will occur increased latency, this is due to the NIXL backend handshake and initialization overhead, this operation is only for the very first transfer*

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Typo: "occur" → "incur".

"the initial request for each worker will occur increased latency" should read "will incur increased latency".

✏️ Suggested fix
-*Note: The initial request for each worker will occur increased latency, this is due to the NIXL backend handshake and initialization overhead, this operation is only for the very first transfer*
+*Note: The initial request for each worker will incur increased latency due to the NIXL backend handshake and initialization overhead; this only happens on the very first transfer.*
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
*Note: The initial request for each worker will occur increased latency, this is due to the NIXL backend handshake and initialization overhead, this operation is only for the very first transfer*
*Note: The initial request for each worker will incur increased latency due to the NIXL backend handshake and initialization overhead; this only happens on the very first transfer.*
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/cloud-providers/eks/eks.md` at line 313, Fix the typo in the
sentence "the initial request for each worker will occur increased latency" by
replacing "occur" with "incur" so it reads "the initial request for each worker
will incur increased latency"; update the exact sentence in
docs/kubernetes/cloud-providers/eks/eks.md accordingly to preserve surrounding
wording and punctuation.

Comment thread docs/kubernetes/dgdr.md Resolved
Comment on lines +78 to +86
```
hub/models--<org>--<model>/snapshots/<commit-hash>/
```

For example, `meta-llama/Llama-3.1-70B-Instruct` becomes:

```
hub/models--meta-llama--Llama-3.1-70B-Instruct/snapshots/9d3b8e0f71f8c1e0f9b7c2a3d4e5f6a7b8c9d0e1/
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add language identifiers to directory structure code blocks.

The directory structure examples should specify text as the language identifier for proper syntax highlighting and rendering.

📝 Proposed fix
-```
+```text
 hub/models--<org>--<model>/snapshots/<commit-hash>/

For example, meta-llama/Llama-3.1-70B-Instruct becomes:

- +text
hub/models--meta-llama--Llama-3.1-70B-Instruct/snapshots/9d3b8e0f71f8c1e0f9b7c2a3d4e5f6a7b8c9d0e1/

🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 78-78: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


[warning] 84-84: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/model-caching.md` around lines 78 - 86, Update the two fenced
code blocks showing the directory structure to include the language identifier
"text" after the opening triple backticks so they render with correct syntax
highlighting; specifically modify the blocks containing
"hub/models--<org>--<model>/snapshots/<commit-hash>/" and
"hub/models--meta-llama--Llama-3.1-70B-Instruct/snapshots/9d3b8e0f71f8c1e0f9b7c2a3d4e5f6a7b8c9d0e1/"
to start with ```text instead of ``` so the examples render properly.

Comment thread docs/kubernetes/README.md
Comment on lines +17 to 26
### HuggingFace token secret

Verify your installation:
```bash
kubectl version --client # Should show v1.24+
helm version # Should show v3.0+
```

For detailed installation instructions, see the [Prerequisites section](installation-guide.md#prerequisites) in the Installation Guide.

## Pre-deployment Checks

Before deploying the platform, run the pre-deployment checks to ensure the cluster is ready:
Create a HuggingFace token secret for model downloads. If you don't have a token, see the HuggingFace [token guide](https://huggingface.co/docs/hub/en/security-tokens).

```bash
./deploy/pre-deployment/pre-deployment-check.sh
export HF_TOKEN=<your-hf-token>

kubectl create secret generic hf-token-secret \
--from-literal=HF_TOKEN="$HF_TOKEN"
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

HF token secret is created in the wrong namespace.

kubectl create secret generic hf-token-secret ... here has no -n flag, so the secret lands in the user's current context namespace (typically default). Later (Line 64) the user exports NAMESPACE=dynamo-system and the DGDR is applied to that namespace, where this secret is then absent — model download will fail with secret "hf-token-secret" not found.

The other guides in this PR (docs/kubernetes/model-deployment-guide.md Line 203, docs/kubernetes/cloud-providers/eks/eks.md Line 130) correctly pass -n $DYNAMO_NAMESPACE.

🛡️ Suggested fix — move secret creation after the namespace is available, or create the namespace up-front
-### HuggingFace token secret
-
-Create a HuggingFace token secret for model downloads. If you don't have a token, see the HuggingFace [token guide](https://huggingface.co/docs/hub/en/security-tokens).
-
-```bash
-export HF_TOKEN=<your-hf-token>
-
-kubectl create secret generic hf-token-secret \
-  --from-literal=HF_TOKEN="$HF_TOKEN"
-```
+### HuggingFace token secret
+
+Create a HuggingFace token secret for model downloads in the namespace where you'll deploy Dynamo. If you don't have a token, see the HuggingFace [token guide](https://huggingface.co/docs/hub/en/security-tokens).
+
+```bash
+export NAMESPACE=dynamo-system
+export HF_TOKEN=<your-hf-token>
+
+kubectl create namespace "$NAMESPACE" --dry-run=client -o yaml | kubectl apply -f -
+kubectl create secret generic hf-token-secret \
+  --from-literal=HF_TOKEN="$HF_TOKEN" \
+  -n "$NAMESPACE"
+```
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/kubernetes/README.md` around lines 17 - 26, The HF token secret is being
created without a namespace so it lands in the current context (usually default)
and won’t exist in dynamo-system; update the docs so the secret creation happens
in the same namespace used for deployment: ensure NAMESPACE (or
DYNAMO_NAMESPACE) is set (e.g., NAMESPACE=dynamo-system), create the namespace
if needed, and call kubectl create secret generic hf-token-secret
--from-literal=HF_TOKEN="$HF_TOKEN" with -n "$NAMESPACE" (or equivalent using
DYNAMO_NAMESPACE) so the secret is present when the DGDR is applied.

@Jont828
Jont828 force-pushed the dynamo-full-docs-refactor branch from 4512c7d to 4f77c1d Compare May 7, 2026 18:36
Comment thread docs/index.yml Resolved
Comment thread docs/index.yml Resolved
@Jont828
Jont828 force-pushed the dynamo-full-docs-refactor branch 2 times, most recently from 92f46a9 to 4a4251d Compare May 7, 2026 19:19
@Jont828
Jont828 force-pushed the dynamo-full-docs-refactor branch 2 times, most recently from 923db4e to 8a8aafa Compare May 28, 2026 00:19
@sttts

sttts commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

/ok to test 8a8aafa

@sttts

sttts commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

For easier review, Codex made this preview:

  Before

  Docs sidebar
  ├─ Getting Started
  │  ├─ Quickstart
  │  ├─ Introduction
  │  ├─ Local Installation
  │  ├─ Building from Source
  │  ├─ Kubernetes Deployment
  │  └─ Contribution Guide
  ├─ Resources
  ├─ Digest
  ├─ Kubernetes Deployment
  │  ├─ Deployment Guide
  │  ├─ Observability (K8s)
  │  ├─ Multinode
  │  └─ Cloud Provider Guides
  │     ├─ AWS
  │     ├─ Azure
  │     └─ GCP
  ├─ User Guides
  ├─ Backends
  ├─ Components
  ├─ Integrations
  ├─ Design Docs
  └─ Documentation

  After

  Docs sidebar
  ├─ Getting Started
  │  ├─ Introduction
  │  ├─ CLI Quickstart
  │  └─ K8s Quickstart
  ├─ Usage
  │  ├─ CLI Usage
  │  │  ├─ Installation
  │  │  ├─ SGLang Deployments
  │  │  ├─ TRT-LLM Deployments
  │  │  └─ vLLM Deployments
  │  └─ Kubernetes Usage
  │     ├─ Installation Guide
  │     ├─ Model Deployment Guide
  │     ├─ Observability
  │     ├─ Multinode
  │     └─ Cloud Providers
  │        ├─ AWS
  │        ├─ Azure
  │        └─ GCP
  ├─ Architecture
  │  ├─ Overview
  │  ├─ Concepts
  │  ├─ Components
  │  └─ Backends
  ├─ Advanced
  │  ├─ Features
  │  ├─ Applications
  │  └─ Integrations
  └─ Resources
     ├─ Reference
     ├─ Developer's Guide
     └─ Blog

@Jont828
Jont828 force-pushed the dynamo-full-docs-refactor branch from 8a8aafa to 1ff58b3 Compare June 17, 2026 01:14
@Jont828
Jont828 requested a review from a team as a code owner June 17, 2026 01:14
@Jont828
Jont828 force-pushed the dynamo-full-docs-refactor branch from 1ff58b3 to f960f83 Compare June 23, 2026 01:36
@Jont828

Jont828 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR. It was opened from dynamo-full-docs-refactor before the branch was rebased, and the docs restructure has since been substantially reworked.

The approach here (a single flat-sidebar reorganization of index.yml) has been superseded by a tab-based navigation model — Home / User Guide / Developer Guide / Recipes / Reference / Blog / Community — plus new landing pages and nav-bar sections.

I'll open a fresh PR from the rebased branch and link it here. Tracking DEP: ai-dynamo/enhancements#89.

@Jont828

Jont828 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #10855 (rebased branch, tab-based navigation). Tracking DEP: ai-dynamo/enhancements#89.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation Improvements or additions to documentation external-contribution Pull request is from an external contributor size/XXL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants