Skip to content

TKE-38: make node-pool describe examples copyable - #51

Merged
wenjiehs merged 1 commit into
tke-workshop:mainfrom
wenjiehs:agent/tke-workshop-doc-compile-sweep/ad606aa0
Jun 23, 2026
Merged

TKE-38: make node-pool describe examples copyable#51
wenjiehs merged 1 commit into
tke-workshop:mainfrom
wenjiehs:agent/tke-workshop-doc-compile-sweep/ad606aa0

Conversation

@wenjiehs

Copy link
Copy Markdown
Collaborator

Summary

  • Updates the Kubernetes-side validation snippet in src/content/docs/basics/node-pool/03-describe-node-pool.md to use a NODE_NAME variable instead of raw angle-bracket placeholders.
  • Keeps the fix scoped to the single target document from TKE-38.

Root cause
The fenced block is marked as bash, but literal placeholders are parsed as shell redirection, so copy/paste syntax validation fails.

Validation

  • npm run build
  • node --test test/navigation.test.mjs test/cookbooks.test.mjs test/create-cluster-autoupgrade.test.mjs
  • python3 -m py_compile cookbook/cluster/delete_cluster.py cookbook/cluster/create_cluster.py cookbook/cluster/describe_clusters.py cookbook/common/auth.py cookbook/common/logger.py cookbook/workload/deploy_nginx.py cookbook/supernode/deploy_gpu_pod.py
  • git diff --check
  • targeted checks for target Markdown fence languages, relative links, bash snippets, and Python snippets

Closes TKE-38

@wenjiehs
wenjiehs marked this pull request as ready for review June 23, 2026 06:32
@wenjiehs
wenjiehs merged commit 85d4e23 into tke-workshop:main Jun 23, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant