[docs-scanner] Compose Bridge: Conflicting information about Kustomize vs Helm configuration

未关闭
#26,789 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
markdown
领域
documentation

调研方向

Read content/manuals/compose/bridge/usage.md and content/manuals/compose/bridge/use-model-runner.md together to establish what Compose Bridge generates and how the documented deployment methods relate. Clarify how readers configure Model Runner for each method, or explain which use case the Helm values cover. Done when the docs consistently explain the generated output and give readers a usable configuration path.

由索引模型根据 Issue 内容生成。

描述

Files:

  • content/manuals/compose/bridge/usage.md
  • content/manuals/compose/bridge/use-model-runner.md
Issue

The documentation presents conflicting information about how Model Runner configuration works with Compose Bridge.

In usage.md, the documentation states that Compose Bridge generates Kustomize overlays:

The default transformation generates two different overlays - one for Docker Desktop whilst using a local instance of Docker Model Runner, and a model-runner overlay with all the relevant Kubernetes resources to deploy Docker Model Runner in a pod.

And later:

All generated files are stored in the /out directory in your project.

However, use-model-runner.md immediately jumps to Helm-based configuration without explaining the relationship:

When deploying using generated Helm Charts, you can control the model runner configuration through Helm values.

The entire "Configure model runner settings" section in use-model-runner.md only documents Helm values configuration, with no mention of:

  • How Kustomize overlays relate to Helm charts
  • Whether Compose Bridge generates Helm charts or Kustomize manifests (or both)
  • How to configure Model Runner when using the Kustomize overlays mentioned in usage.md
  • When to use Helm vs Kustomize
Why this matters

A reader following the documentation sequentially would:

  1. Learn in usage.md that Compose Bridge generates Kustomize overlays
  2. Deploy using kubectl apply -k out/overlays/desktop/ (Kustomize command)
  3. Turn to use-model-runner.md to configure Model Runner
  4. Find only Helm values configuration with no explanation of how to apply these settings to the Kustomize-based deployment they just created

This creates a significant comprehension gap where readers cannot successfully configure Model Runner because the configuration method doesn't match the deployment method they were instructed to use.

Suggested fix

In use-model-runner.md, add a section before "Configure model runner settings" that clarifies:

  1. What Compose Bridge actually generates (Kustomize manifests, Helm charts, or both)
  2. How the Helm values relate to the Kustomize overlays mentioned in usage.md
  3. If using Kustomize overlays, how to configure Model Runner settings (edit the overlay files directly? use Kustomize patches?)
  4. If Helm charts are a separate output option, document when/how to generate them

Alternatively, if Compose Bridge only generates Kustomize manifests and the Helm values are for a different use case, make this explicit and explain what that use case is.


Found by nightly documentation quality scanner

主要语言
Markdown
星标
4.7k
派生
8.6k
平均合并
2 天 8 小时
30 天内合并 PR
188

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

docker/docs 的其他 Issue

查看 docker/docs 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。