docs: troubleshoot x509 503s and document CA replacement - #142
Merged
Merged
Conversation
Add a troubleshooting section for proxied requests that fail with 503 and an x509 error while the APIService reports Available=True, and a step-by-step "Replace the CA" procedure with verification commands. Refs #137 Change-Id: Ia1816aa476aa1723a899e9b02d89b106ea37af1d Signed-off-by: Thomas Kosiewski <tk@coder.com>
Refs #137 Change-Id: Ia1efd0c5142726674d90bd5bb5d3c350fd2abd52 Signed-off-by: Thomas Kosiewski <tk@coder.com>
Member
Author
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
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.
Refs #137. Step 3 of 3: docs only.
With #140 and #141, kube-apiserver now verifies the aggregated API server's certificate through the APIService
caBundle. This PR documents how to diagnose failures and how to replace the CA.What changed
docs/how-to/troubleshooting.md: a new section, "Proxied requests fail with 503 and an x509 error".Available=Truedoes not rule this failure out, because kube-apiserver's availability check does not verify the certificate. We found this while testing feat: verify the aggregated API server certificate through the APIService caBundle #141.ca.crtwith the APIServicecaBundle.caBundle(cert-manager or GitOps), or a CA rotation is in progress.ServiceUnavailablesection now tells the server's own specific messages apart from kube-apiserver's generic 503.docs/how-to/deploy-aggregated-apiserver.md: a new "Replace the CA" procedure. It records the fingerprint, deletes the Secret, restarts every replica, then checks the fingerprint, thecaBundleand a proxied request. It also states the expected 503 window (about 10 s with two replicas in the feat: verify the aggregated API server certificate through the APIService caBundle #141 dogfood) and covers the opt-out case. Cross-links go both ways..cspell.json: addsapiservices,kubeadmandnoout.Validation
make docs-check(mkdocs build --strict) pass. All new anchors resolve in the built site.missing permission …,Set the APIService caBundle …) and the field managercoder-k8s-apiservice-cabundleexist in the code. The replacement and diagnostic commands match the ones run in the feat: verify the aggregated API server certificate through the APIService caBundle #141 Kind dogfood.Once this lands, #137's acceptance criteria are met. I will close it by hand after checking the landing.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:medium