Repository navigation
docs(kubernetes): Proxmox substrate in next/ with capmox v0.9.2, two troubleshooting rows - #792
Draft
Marian Koreniuk (themoriarti) wants to merge 1 commit into
Draft
Marian Koreniuk (themoriarti) wants to merge 1 commit into
Marian Koreniuk (themoriarti) wants to merge 1 commit into
Conversation
…troubleshooting rows next/ had no Proxmox substrate page, so the next release would have lost it. The copy describes main once cozystack/cozystack#5243 lands: capmox v0.9.2, in-cluster IPAM v1.1.1, Cluster API core v1.13.7, the v1alpha2 status fields in the verify commands. Both versions get two troubleshooting rows found on a live cluster: capmox OOMKilled by its cluster-wide Secret cache, and the memory check that counts stopped VMs. Assisted-by: LLM Signed-off-by: Marian Koreniuk <moriarti@cp.if.ua>
❌ Deploy Preview for cozystack failed.
|
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Open
1 of 4 tasks
This branch has not been deployed
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 PR does
Docs for the Proxmox VE substrate, from a live upgrade of capmox v0.7.7 → v0.9.2 on a management cluster (cozystack/cozystack#5243, which depends on cozystack/cozystack#4902).
next/kubernetes/proxmox-substrate.md(new).next/had no Proxmox substrate page: it was added straight tov1.7/, so promotingnext/at the next release would drop it. This is the v1.7 page brought to whatmainwill ship once cozystack/cozystack#5243 is merged:v1alpha2as the storage version,v1alpha1still served), in-cluster IPAM v1.1.1, Cluster API core v1.13.7;v1alpha2status (ipAddressesis now a list keyed bynet), and a note thatkubectlreturnsv1alpha2, which has nostatus.ready, so readiness is theReadycondition;refpoints at/docs/next/kubernetes.v1.7/kubernetes/proxmox-substrate.mdandnext/: two troubleshooting rows, both seen on the test cluster and both true for the shipped capmox v0.7.7:OOMKilledwhile it provisions a worker. capmox reads the bootstrap Secret through its controller-runtime cache, so it keeps every Secret of the management cluster in memory. On the test cluster that was 1236 Secrets / 87 MB of JSON (706 of them Helm release revisions), and both v0.7.7 and v0.9.2 were killed at the 256Mi limit with a working set of 232–255 MiB.cannot reserve …B of memory … 0B available memory left. capmox subtracts the configured memory of every non-template VM on the node, stopped ones included. Three stopped 20 GiB VMs were enough to block a 126 GiB node that had 91 GiB free. Under v0.7.7 the failed clone is not retried.Measured on the test cluster during the upgrade (one worker created and deleted, two runs per version; seconds from scale-up):
InfrastructureReady)¹ about two minutes of waiting for the static IP from IPAM v1.0.3.
Keep this a draft until cozystack/cozystack#5243 is merged: the
next/page describes it. The twov1.7rows could go in on their own if you prefer to split.Built locally with the deploy-preview command from
netlify.toml(Hugo 0.164.0 extended,HUGO_ENV=preview,npm install && ./hack/download_openapi.sh && hugo --gc --minify --buildFuture && ./hack/mirror_latest.sh public): it succeeds, and both/docs/next/kubernetes/proxmox-substrate/and/docs/v1.7/kubernetes/proxmox-substrate/render. The Netlify deploy preview of this PR failed 38 s after it started and its log is not public, so I cannot tell why; it may need a re-run from the Netlify side.