Merged
Conversation
addon-k3d-host-precheck-guide.md — 三档输出 host precheck 工具配套方法论: 何时跑、退出码语义、3 个 tooling 通用坑(k3d kubeconfig 0.0.0.0 → 127.0.0.1 sed 修法 / k3d v5 label key 由 k3d-cluster 变 k3d.cluster / macOS bash 3.2 缺 mapfile 与 declare -A 的应对)、runner pre-hook 集成、三台测试机 (MacBook-Pro-7 / caoweis-MacBook-Air / weideMacBook-Air)跨主机 ops profile baseline、7 条硬规则与反模式表。 工具脚本 kubeblocks-tests/scripts/k3d-precheck.sh 已先在 kubeblocks-tests 仓 commit ca0d17a 落地(zsh + 临时文件方案,三档输出:表格 / JSON / quiet exit code)。本 guide 与该脚本配套使用。 SKILL-INDEX.md — 在 addon-probe-script-fork-and-zombie-guide 之后追加索引项。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
新增
docs/addon-k3d-host-precheck-guide.md,配合已在kubeblocks-tests仓落地的scripts/k3d-precheck.sh(commitca0d17a),把"跑 smoke / chaos 之前先做 host-level k3d snapshot"沉淀为通用方法论:kubectl get ns阶段就 timeout / EOF。--json/--quiet;退出码 0 / 1 / 2 语义化。k3d kubeconfig get输出https://0.0.0.0:<port>→ TLS EOF(macOS 修法:sed 替换127.0.0.1)k3d-cluster变k3d.cluster(不带点 → docker stats filter 全归零)mapfile/declare -A→ 用 zsh + 临时文件evidence/便于事后归因。docs/SKILL-INDEX.md添加索引项(紧接 addon-probe-script-fork-and-zombie-guide 之后)。Test plan
kubeblocks-tests/scripts/k3d-precheck.sh已在三台测试机分别跑通三档输出(表格 /--json/--quiet)addon-k3d-kubeconfig-loopback-fix-guide/addon-test-runner-portability-guide/addon-test-environment-gate-hygiene-guide)均存在docs/SKILL-INDEX.md索引项位置正确,描述与 guide 内容一致