Skip to content

[docs] docs: reduce implementation detail bloat in troubleshooting - #4197

Merged
devantler merged 3 commits into
mainfrom
docs/unbloat-troubleshooting-698f763f8cd048a6
Apr 20, 2026
Merged

devantler merged 3 commits into
mainfrom
docs/unbloat-troubleshooting-698f763f8cd048a6

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Reduced implementation detail bloat in docs/src/content/docs/troubleshooting.md.

Changes

Cluster Stability Check Failures section:

  • Removed the "Each check performs up to three steps" paragraph — internal mechanics (5 consecutive API server health checks, kube-system DaemonSets readiness, busybox pod TCP check, 3-minute VCluster timing) don't help users resolve the issue
  • Simplified the two bullet points to drop webhook/CRD implementation context that users don't act on
  • Condensed the image pull failure sub-case

Registry Access section:

  • Removed the health check polling detail ("polls /v2/ every 10 s, marks unhealthy after 3 consecutive failures") — users need the diagnostic commands, not the polling interval

Bloat types addressed

  • Implementation details in troubleshooting: Internal step counts, timing thresholds, and pod mechanics replaced by actionable descriptions
  • Verbose sub-clauses: Simplified while preserving all resolution steps and error messages users need

Preservation

All error message strings, resolution commands, and diagnostic commands are preserved unchanged.

Generated by Daily Docs · ● 1.8M · ◷

- Cluster Stability Check Failures: remove internal mechanics
  (step count, health check intervals, busybox pod, VCluster timing)
  and simplify bullet points to focus on actionable context
- Registry section: remove health check polling implementation detail
  (polls every 10s, unhealthy after 3 failures)
- Simplify image pull failure sub-case to be more concise

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@devantler
devantler marked this pull request as ready for review April 20, 2026 13:40
@devantler
devantler self-requested a review as a code owner April 20, 2026 13:40
Copilot AI review requested due to automatic review settings April 20, 2026 13:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Reduces internal implementation detail in the troubleshooting guide to keep guidance focused on actionable diagnostic steps and user-resolvable remediation.

Changes:

  • Simplified mirror registry health troubleshooting language by removing health check polling mechanics.
  • Condensed “Cluster Stability Check Failures” to focus on user-impact and remediation rather than internal step-by-step mechanics.
  • Shortened the image pull failure sub-case while keeping the key diagnosis and retry guidance.

@github-actions

github-actions Bot commented Apr 20, 2026 •

Copy link
Copy Markdown
Contributor Author

✅MegaLinter analysis: Success

✅ Linters with no issues

actionlint, git_diff, hadolint, jscpd, jsonlint, lychee, markdown-table-formatter, markdownlint, prettier, prettier, stylelint, syft, trivy-sbom, trufflehog, v8r, v8r, yamllint

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

Restore 'infrastructure components (Cilium CNI only)' phrasing in the
bullet point to match the error strings users will see in the output:
'cluster not stable before infrastructure installation' and
'cluster not stable after infrastructure installation'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@devantler
devantler enabled auto-merge April 20, 2026 13:48
@devantler
devantler merged commit 74fbddc into main Apr 20, 2026
44 checks passed
@devantler
devantler deleted the docs/unbloat-troubleshooting-698f763f8cd048a6 branch April 20, 2026 14:25
devantler added a commit that referenced this pull request Apr 21, 2026
…ncer detection

Add KWOK early return in waitForClusterStability after API server check
to skip WaitForAllNodesReady and WaitForNamespaceDaemonSetsReady (KWOK
has no real kubelet nodes or kube-system DaemonSets).

Add KWOK early return in InstallCNI to skip CNI installation (simulated
pods have no real network dataplane) and warn if non-default CNI was
configured.

Fix detectLoadBalancer to return LoadBalancerDisabled for KWOK, matching
applyDistributionSpecOverrides normalization. This prevents false-positive
diffs in ksail cluster update --dry-run that caused the (KWOK, Docker,
false) system test to fail with unexpected changes detected.

Fixes #4197

Agent-Logs-Url: https://github.com/devantler-tech/ksail/sessions/5d04fd1e-7598-4e4c-955c-1df49338107d

Co-authored-by: devantler <26203420+devantler@users.noreply.github.com>
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.

3 participants