Vss Deploy Warehouse Helm 标志

Vss Deploy Warehouse Helm

组织热门
NVIDIA-AI-Blueprints
vss-deploy-warehouse-helm

Use when the user asks to deploy, upgrade, or size the VSS warehouse blueprint (2D / 3D / MV3DT) on Kubernetes via Helm — as opposed to Docker Compose, which is covered by vss-build-vision-ai's warehouse reference. Handles GPU-aware NUM_STREAMS capping so the deployment matches what the perception pipeline can actually sustain.

Add to TypingMind

概览

发布者NVIDIA-AI-Blueprints
代码仓库video-search-and-summarization
技能名称vss-deploy-warehouse-helm
星标数
1.9K
复刻数
393
附带文件
1
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 NVIDIA-AI-Blueprints 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Vss Deploy Warehouse Helm AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization/tree/develop/skills/deployment/vss-deploy-warehouse-helm
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization.git /tmp/video-search-and-summarization
mkdir -p .claude/skills
cp -r /tmp/video-search-and-summarization/skills/deployment/vss-deploy-warehouse-helm .claude/skills/vss-deploy-warehouse-helm
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Vss Deploy Warehouse Helm,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Vss Deploy Warehouse Helm。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Vss Deploy Warehouse Helm 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

VSS Warehouse — Helm Deploy

Do not use this skill for:

  • Docker Compose warehouse deployment — use vss-build-vision-ai's references/warehouse.md; it owns the HARDWARE_PROFILE → GPU mapping table and the blueprint_config.yml stream-cap semantics this skill reuses.
  • Non-warehouse Helm profiles (base, search, lvs, alerts) — those don't have a bp-configurator GPU-aware stream cap; deploy them per their own chart READMEs.
  • Runtime operations (adding cameras, querying behavior analytics) — use vss-manage-alerts / vss-query-analytics against the running deployment.

Why this exists

Docker Compose's warehouse deploy caps NUM_STREAMS per GPU automatically: the configurator reads deploy/docker/industry-profiles/warehouse-operations/blueprint-configurator/blueprint_config.yml's max_streams_supported table for the detected HARDWARE_PROFILE and mode, and clamps final_stream_count = min(NUM_STREAMS, max_streams_supported).

The Helm charts (deploy/helm/industry-profiles/warehouse-operations/warehouse-{2d,3d,mv3dt}-app) do not do this — their bp-configurator.env ships a fixed NUM_STREAMS and never sets HARDWARE_PROFILE at all (ENABLE_PROFILE_CONFIGURATOR=false). A user who asks for more streams than the GPU can sustain gets no protection. This skill closes that gap by computing the same cap Compose would apply and writing it into a Helm values-override file before install.

Available Scripts

ScriptPurposeArguments
../../../deploy/helm/industry-profiles/warehouse-operations/scripts/compute_stream_cap.pyDetect GPU (or take an explicit HARDWARE_PROFILE), read max_streams_supported from blueprint_config.yml, cap the requested stream count, and write a bp-configurator.env-patched values-override YAML. Pass any values file(s) your install already uses via -f so custom bp-configurator.env entries in them aren't dropped.--mode {2d,3d,mv3dt} --num-streams N [--hardware-profile P] [--gpu-index I] [-f VALUES]... [-o FILE]

This script has no skill/agent dependency — a user who doesn't want to use this skill can run it directly (python3 compute_stream_cap.py --mode 2d --num-streams 8) and pass the generated file to helm upgrade/install -f themselves.

Instructions

  1. Precheck the cluster and required inputs before touching Helm — don't assume a fresh cluster already has these. Run each check and report pass/fail back to the user:

    bash
    kubectl cluster-info                         # cluster reachable
    kubectl get nodes                             # all nodes Ready
    kubectl get storageclass                      # a StorageClass exists
    kubectl get nodes -o jsonpath='{.items[*].status.allocatable.nvidia\.com/gpu}{"\n"}'
                                                   # non-empty -> GPU Operator has registered GPUs
    helm version --short                           # Helm 3.x

    Also ask whether the user already has an NGC API key — that can't be checked from cluster state, only asked about.

    On any failure, don't just link the user to the README and stop — hand them the actual fix, copied from the chart README, and offer to run it for them:

    • No StorageClass → relay the local-path-provisioner install + kubectl patch storageclass snippet from warehouse-<mode>-app/README.md §Prerequisites (bare-metal option) — or ask what StorageClass they intend to use if they already have one in mind. Multi-node cluster: local-path's node affinity can strand vss-vios-nvstreamer's PVCs across different nodes (didn't match PersistentVolume's node affinity) — relay the same section's nfs-subdir-external-provisioner snippet instead, and set vios.vstStorage.vstData, .vstVideo, and .streamerVideos .storageClass to nfs-client via three separate --set flags (or just global.storageClass) rather than local-path.
    • No nvidia.com/gpu allocatable → relay the NVIDIA GPU Operator install steps from §Prerequisites (links to the GPU Operator getting-started guide) and the recommended driver versions listed there.
    • Cluster unreachable / nodes not Ready → this one the user has to fix outside Helm/this skill entirely; say so plainly rather than suggesting a chart-level fix.
    • No NGC API key → point at §Required secrets in the chart README for how to create the pull secret, don't just say "get an NGC API key."

    Only proceed to step 2 once cluster/StorageClass/GPU-Operator/Helm all pass and the user has confirmed they have an NGC API key — an install started before that will fail partway through in a way that's harder to debug than catching it here.

  2. Ask ingress vs. NodePort — this determines both what's installed in this step and which install command gets used in step 6, so resolve it before going further, don't default silently to one or the other:

    • Ingress (needed off-cluster / for a stable hostname) → check whether an ingress controller is already installed (kubectl get ingressclass). If not, relay the haproxy-ingress install snippet from warehouse-<mode>-app/README.md §"Install the ingress controller" and offer to run it. Note this is a one-time, per-cluster step, not per-app.
    • NodePort (simplest for a quick local/single-node deploy, no ingress controller needed) → tell the user the chart ships values-nodeport.yaml for this — the install command in step 6 changes to -f values-nodeport.yaml layered under the stream-cap file, and the service URLs move to <NODE_IP>:<port> instead of <NODE_IP>/<path>. See §"No ingress controller: NodePort" and §URLs in the chart README for the exact ports. If the user hasn't said which they want and there's no clear signal (e.g. "just get it running locally" implies NodePort; "expose it for the team" implies Ingress), ask rather than guessing.
  3. Determine mode and whether to enable Alerts:

    • Mode. Use 2d, 3d, or mv3dt if the request already names one. Otherwise ask — don't guess:
      • 2d — 2D object detection & tracking.
      • 3d — standalone RTVI-CV-3D / multi-camera 3D tracking on calibrated inputs.
      • mv3dt — Multi-View 3D Tracking warehouse profile. Also needs rtvi.vss-rtvi-cv.standaloneWarehouse.mv3dt.fusion.maxExpectedSensors set to the effective stream count in step 6/7 (default 4) — it's BEV fusion's own camera-count setting, separate from NUM_STREAMS/syncFileCount, and the stream-cap script doesn't touch it.
    • Alerts. Not a fourth mode — an optional overlay, off by default, and only available on 2d (warehouse-2d-app is the only chart with vss-alert-bridge/agent/vss-agent-ui as dependencies; 3d and mv3dt don't have them). If the user is on 3d/mv3dt and asks for Alerts, say it's not available there instead of trying to enable it. On 2d, ask the user whether they want it, and explain the tradeoff first rather than enabling or skipping it for them: without Alerts they get the raw RT-CV detection/tracking stream; with it, detections also pass through a behavior-analytics stage and a VLM verification step (RT-VLM) before anything is surfaced as an incident, queryable through the agent/agent UI. That verification step is the reason to turn it on — it's what keeps every raw detection from becoming a ticket. If they want it, note the four flags have to be set together (vss-alert-bridge.enabled, agent.enabled, vss-agent-ui.enabled, rtvi.vss-rtvi-vlm.enabled — swap the last for an external vlmBaseUrl if not using the in-cluster VLM) plus Kafka/Elasticsearch/VST endpoint values. Full block: warehouse-2d-app/README.md §Alerts — layer it in during step 6.
    • Stream count. Ask if not given; it sizes the NUM_STREAMS cap in step 5.
  4. Ask whether the install customizes bp-configurator.env (extra env vars, different defaults) — don't assume none exist just because the user didn't mention one. If they're unsure, ask them to check their existing helm upgrade --install command for anything touching bp-configurator.env, file-based or inline. State the outcome back to them either way:

    • Values file (-f my-values.yaml) → note its path. It gets passed to the script via -f in the next step and to helm itself in step 7 — the script's output only carries bp-configurator.env, so anything else in that file (storage class, ingress, alerts flags) still needs helm to see the original file directly. See references/streams.md.
    • Inline (--set/--set-json on bp-configurator.env) → the script only reads YAML files, it can't consume a --set string. Move it into a values file first — see references/streams.md for the helm get values -a command (secrets included, handle with care) and why it can't be trimmed. Then treat it as the values-file case above.
    • No customizations → say so explicitly (e.g. "no custom bp-configurator.env overrides, so nothing extra is needed here") and proceed without any of the above.
  5. Run the stream-cap script from the repo root:

    bash
    python3 deploy/helm/industry-profiles/warehouse-operations/scripts/compute_stream_cap.py \
      --mode <mode> --num-streams <N> -o values-stream-cap.generated.yaml
    • If step 4 found a customizing values file, pass it here too via -f — otherwise the generated file (built from chart defaults, layered last) silently drops those customizations. See references/streams.md.
    • Without --hardware-profile, it runs nvidia-smi on GPU index 0 and maps the name to a HARDWARE_PROFILE using the same table as vss-build-vision-ai's warehouse reference. If detection fails or the GPU isn't in that table, pass --hardware-profile explicitly. IGX-THOR/ DGX-SPARK edge devices aren't supported by this Helm path.
    • No local nvidia-smi (running helm/kubectl from a bastion, laptop, or CI runner rather than a GPU node): kubectl exec into a GPU Operator daemonset pod (driver or device-plugin, e.g. kubectl get pods --all-namespaces -l app=nvidia-driver-daemonset) and run nvidia-smi --query-gpu=name --format=csv,noheader there instead, then map the name and pass --hardware-profile.
    • It prints the effective (possibly capped) stream count and the syncFileCount value to keep in step (see references/streams.md for why).
    • It never lowers the request silently without saying so — a cap is always logged to stderr.
  6. Prepare the rest of the values — secrets, storage class, either ingress/externalHost or the NodePort values file per the choice made in step 2, and — if Alerts was enabled in step 3 — the four-flag Alerts values block from warehouse-2d-app/README.md §Alerts (Kafka/ Elasticsearch/VST endpoints included). On mv3dt, also add --set rtvi.vss-rtvi-cv.standaloneWarehouse.mv3dt.fusion.maxExpectedSensors=<effective-streams> (same value as syncFileCount from step 5). If step 4 found a customizing values file, it goes here too (-f my-values.yaml) — passing it only to the script in step 5 covers bp-configurator.env but drops everything else in that file from the install. See references/streams.md for the full helm upgrade --install command with the generated file layered in last via -f.

  7. Install/upgrade, chaining the generated file after any other -f/--set overrides so it wins on bp-configurator.env. The base command is the same either way; only the ingress-vs-NodePort overrides differ:

    bash
    helm dependency update deploy/helm/industry-profiles/warehouse-operations/warehouse-<mode>-app
    
    # Ingress:
    helm upgrade --install wh deploy/helm/industry-profiles/warehouse-operations/warehouse-<mode>-app \
      -n <namespace> --create-namespace \
      --set global.vssIngress.enabled=true \
      --set global.externalHost=<NODE_IP> \
      --set global.storageClass=<STORAGE_CLASS> \
      --set vios.vss-vios-nvstreamer.syncFileCount=<effective-streams> \
      --set vios.vss-vios-nvstreamer.rtsp.instanceCount=<effective-streams> \
      ... \
      -f values-stream-cap.generated.yaml   # last: wins on bp-configurator.env
    
    # NodePort:
    helm upgrade --install wh deploy/helm/industry-profiles/warehouse-operations/warehouse-<mode>-app \
      -n <namespace> --create-namespace \
      -f deploy/helm/industry-profiles/warehouse-operations/warehouse-<mode>-app/values-nodeport.yaml \
      --set global.storageClass=<STORAGE_CLASS> \
      --set vios.vss-vios-nvstreamer.syncFileCount=<effective-streams> \
      --set vios.vss-vios-nvstreamer.rtsp.instanceCount=<effective-streams> \
      -f values-stream-cap.generated.yaml   # last: wins on bp-configurator.env

    ... is the remaining secrets/URL overrides from step 6 — see references/streams.md.

    -f values-stream-cap.generated.yaml has to be the last -f in the command — that's what makes it win on bp-configurator.env (multiple -f files merge in order given, later wins per top-level key). That includes coming after values-nodeport.yaml in the NodePort case and after every other -f in both. --set doesn't follow this rule: Helm always applies --set after every -f file regardless of command-line position, so a stray --set on bp-configurator.env here would still win no matter where you put it — step 4 should already have converted any such override into a values file, not left it inline.

  8. Post-install validation — confirm pods actually come up before declaring success; see warehouse-<mode>-app/README.md §Post-install validation, but don't run its kubectl get pods -w/port-forward verbatim — those block forever. Use kubectl wait --for=condition=Ready pod --all -n <namespace> --timeout=5m and a backgrounded port-forward instead.

  9. Re-run the script whenever NUM_STREAMS or the target GPU changes — the values-override file isn't tracked automatically; re-generate and re-helm upgrade after a hardware change.

Prerequisites

  • Kubernetes cluster reachable via kubectl, all nodes Ready.
  • NVIDIA GPU Operator installed, so nodes report nvidia.com/gpu as allocatable.
  • StorageClass present for VST/Elasticsearch PVCs (global.storageClass).
  • Helm 3.x and kubectl.
  • NGC API key for the image pull secret and model/app-data download job.
  • Ingress controller installed if using ingress (see the chart README's "No ingress controller: NodePort" section for the alternative).
  • TURN server for WebRTC playback off-cluster (global.turnServerUrl).

Full detail, values, and exact commands: see deploy/helm/industry-profiles/warehouse-operations/warehouse-<mode>-app/README.md §Prerequisites (identical across 2d/3d/mv3dt). This skill only adds the stream-cap step; it doesn't replace chart setup — the precheck in step 1 is a fast sanity pass, not a substitute for reading that section on first deploy.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Vss Deploy Warehouse Helm AI 技能有什么作用?

Use when the user asks to deploy, upgrade, or size the VSS warehouse blueprint (2D / 3D / MV3DT) on Kubernetes via Helm — as opposed to Docker Compose, which is covered by vss-build-vision-ai's warehouse reference. Handles GPU-aware NUM_STREAMS capping so the deployment matches what the perception pipeline can actually sustain.

为什么在 TypingMind 中使用 Vss Deploy Warehouse Helm?

因为您只需安装一次,就能搭配任何模型使用。Vss Deploy Warehouse Helm 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Vss Deploy Warehouse Helm?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization/tree/develop/skills/deployment/vss-deploy-warehouse-helm。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Vss Deploy Warehouse Helm?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Vss Deploy Warehouse Helm 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Vss Deploy Warehouse Helm 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Vss Deploy Warehouse Helm AI 技能免费吗?

是的。NVIDIA-AI-Blueprints 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇