docs: Improve self-hosted Kubernetes troubleshooting - #770
Draft
warp-agent-staging[bot] wants to merge 1 commit into
Draft
warp-agent-staging[bot] wants to merge 1 commit into
warp-agent-staging[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
This PR was generated with Warp. Comment |
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.



What this feature does
Self-hosted Kubernetes workers run each task as a Kubernetes Job. These docs show platform engineers how to protect active task pods, plan capacity, and diagnose startup, scheduling, image, Secret, networking, initialization, and eviction failures. Shipped in
oz-agent-worker v2026-09-18-23-15-02(2026-09-18).Summary
This PR updates the existing self-hosting documentation with production-backed Kubernetes troubleshooting and lifecycle guidance. It keeps operational procedures on the managed Kubernetes and troubleshooting pages, with focused corrections to the related reference, monitoring, and security pages.
Changes
Content design plan
Audience and JTBD: External platform and DevOps engineers operating self-hosted cloud agent workers on Kubernetes who need to keep active runs stable and diagnose failures from standard Kubernetes signals.
Problem: Existing pages did not explain the production failure modes operators see across pod scheduling, resources, images, initialization, credentials, egress, and node disruption. They also contained stale lifecycle and metrics defaults.
Goals:
Purpose and value: Operators can diagnose failures without incident-specific context or knowledge of Warp's internal systems.
Content type: Troubleshooting, with targeted feature, reference, monitoring, and security corrections.
Skill and template:
draft_troubleshooting/.agents/templates/troubleshooting.md.High-impact scenarios:
Verification
python3 .agents/skills/style_lint/style_lint.py --changed— passed; 5 files scanned, 0 issues.python3 .agents/skills/check_for_broken_links/check_links.py --internal-only— passed; 4,241 internal links checked, 0 broken.npm run build— passed; Astro build, prerendering, Markdown generation, sitemap, and search index completed.python3 .agents/skills/doc_quality_policy/check_compression_contract.py ...— passed for troubleshooting, monitoring, reference, and security pages. The managed Kubernetes page remains above the combined-feature budget at 2,236 words; it was already above budget at 1,791 words onmain. This PR removes three callouts and keeps the requested operational guidance on the existing canonical page instead of creating a duplicate page.trunk check/trunk fmt— unavailable because Trunk is not installed in the environment.Source verification
oz-agent-worker@530bbe934a632910dfe8818ab7b4c6027a3473ef:internal/worker/kubernetes.go,internal/worker/worker.go,internal/config/config.go,internal/metrics/metrics.go,charts/oz-agent-worker/values.yaml, andcharts/oz-agent-worker/templates/deployment.yaml.warp-server@2916aa67b511e8ef1f556766aa3d2dfe42a42f74:logic/ai/ambient_agents/workers/selfhosted/websocket.go.Unverified claims
None — worker behavior, config fields, defaults, failure classifications, and Kubernetes lifecycle claims were verified against the sources above. Karpenter behavior was verified against its current public documentation.
Documentation risk
Risk: engineering-review-required
Rationale: Changes commands, configuration examples and defaults, RBAC, task lifecycle and disruption, networking, security, and monitoring claims.
Source files consulted: oz-agent-worker@530bbe934a632910dfe8818ab7b4c6027a3473ef (worker, config, metrics, and Helm sources); warp-server@2916aa67b511e8ef1f556766aa3d2dfe42a42f74 (self-hosted worker failure contract); Karpenter disruption documentation
Requested engineering reviewers: none (ownership resolved to a team, not one unambiguous human owner)
Engineering review status: pending
Docs override: none
Co-Authored-By: Oz oz-agent@warp.dev