TKE-30: 修正删除节点 API 参数与响应语义#63
Open
wenjiehs wants to merge 1 commit into
Open
Conversation
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.
Closes TKE-30
Doc Change Report
Source Issue
Document Identity
src/content/docs/basics/node/02-delete-node.mdtke.node.deleteScope
DeleteClusterInstancesparameter guidance soInstanceDeleteModeis explicit and required for the China-site API contract.InstanceDeleteMode.SuccInstanceIds,FailedInstanceIds, andNotFoundInstanceIds.Fact Sources
https://cloud.tencent.com/document/product/457/31864, page last updated2025-11-06 02:18:04. Used as the primary source because the target document links to China-site API docs and the issue reports the China-site contract.https://intl.cloud.tencent.com/pt/document/product/457/32038, page last updated2026-05-27 13:00:09. Checked for comparison; it differs on whetherInstanceDeleteModeis required, so this PR follows the China-site source for the China-site document.https://raw.githubusercontent.com/TencentCloud/tencentcloud-sdk-python/master/tencentcloud/tke/v20180525/models.py. Used to confirm request/response model field names.https://raw.githubusercontent.com/TencentCloud/tencentcloud-sdk-go/master/tencentcloud/tke/v20180525/models.go. Used to confirm request/response model field names.src/content/docs/basics/node/02-delete-node.mdand local navigation references. Used to keep the change scoped to the requested document.Static Compile
npm run build: passed.node --test test/navigation.test.mjs test/cookbooks.test.mjs test/create-cluster-autoupgrade.test.mjs: passed, 10/10 tests.python3 -m py_compile cookbook/common/auth.py cookbook/common/logger.py cookbook/cluster/create_cluster.py cookbook/cluster/delete_cluster.py cookbook/cluster/describe_clusters.py cookbook/supernode/deploy_gpu_pod.py cookbook/workload/deploy_nginx.py: passed.git diff --check: passed.mkdocs build --strict: skipped; nomkdocs.yml/mkdocs.yamlconfig exists in the repository.Dry Run Compile
DeleteClusterInstancesCLI and SDK examples in the target page for requiredClusterId,InstanceIds, andInstanceDeleteMode.RequestIdalone as proof that node deletion completed.Live Verify
Remaining Human Confirmation
InstanceDeleteModerequiredness; the choice to follow China-site docs is intentional because this page links to China-site documentation.