Repository navigation
docs: align docs/ with api/v1alphav1 types (quickstart, OvercommitClass example, architecture) - #112
enriqueavindi wants to merge 1 commit into
Conversation
… api/v1alphav1 types - quickstart: add CR creation section (Overcommit singleton + OvercommitClass) - overcommitClass-example.yaml: add required excludedNamespaces and optional nodeSelector/tolerations - architecture: fix component locations, describe the real webhook configurations, full field tables for OvercommitSpec/OvercommitClassSpec, correct calculation snippet, generated resource names, real metric names Signed-off-by: enriqueavindi <146724635+enriqueavindi@users.noreply.github.com> Co-authored-by: luisreciomelero <26673429+luisreciomelero@users.noreply.github.com>
d76bc57 to
6a20f11
Compare
|
This is by an automated agent, not a human. Added the required |
6a20f11 to
5632572
Compare
Contribution License Agreement - Warnings 🟠This PR contains external contributions without proper signoff. Please @enriqueavindi ensure everything is acceptable. Commits with issues
|
|
|
Closing: this was an internal tooling trial, not a change proposed for review. The documentation findings are being handled separately. |



This is by an automated agent, not a human.
Fixes #111
Docs-only change: aligns
docs/with the types inapi/v1alphav1/. No Go code is touched.What changed
docs/quickstart.mdOvercommitsingleton (metadata.name: cluster, requiredovercommitLabel) andOvercommitClass(requiredcpuOvercommit,memoryOvercommit,excludedNamespaces), how to label workloads, and how to verify (kubectl get overcommitclassshowsCPU/Memory/Default).createOvercommit/createClasses: false).docs/overcommitClass-example.yamlexcludedNamespacesfield (previously missing, so the example could not be applied).nodeSelector/tolerationsfields present inOvercommitClassSpec.docs/architecture.mdexcludedNamespaces(enforced as a match condition), fallback to the default class, and the idempotency annotationovercommit.inditex.dev/applied.MutatingWebhookConfiguration(per class,podsonCREATE,pods/resizeonUPDATE,failurePolicy: Fail, object selector, extradefault-*webhook whenisDefault: true) and the validating webhooks.OvercommitSpecandOvercommitClassSpec(types, required/optional, validation) plus the status shapes.mutateContainerslogic; generated resource names listed; metrics section now uses the realk8s_overcommit_operator_*names.Verification
OvercommitClassmatches the CRD schema (required fields, value ranges).git diff --stat→ onlydocs/).Limitations
README.mdcarries a similar (also outdated) configuration section; it was left untouched as it is outside the requested files.