feat(paas): account tiers (entitlement) + availability-maturity grade — BlueMix lessons, sovereign - #30
Merged
Merged
Conversation
… — the BlueMix lessons, sovereign
The enterprise-PaaS governance the BlueMix Gen3/Gen4 diagrams model, done light + sovereign.
Account tiers (admission.py) — BlueMix entitlement/Free-Paid, as quota + backend entitlement:
- TIERS free|pro|enterprise: each sets max_concurrent/gpu_max/cost_budget AND allowed_backends
(free -> local/wasm only; pro -> +k8s/hpc/volunteer; enterprise -> all).
- AdmissionController(tiers={subject: tier}); quota_for applies the tier (explicit quotas still
override); allowed_backends(subject) feeds compute_plane.place() policy. Default tier: pro.
- free tier denies GPU work (gpu_max 0), fail-closed.
Availability-maturity grade (availability.py) — the DW-DevOps Zero-Downtime legend as a governance
artifact (like the commons' reproducible/declared grade):
- GRADES: non-managed -> needs-work -> almost-zd -> zero-downtime.
- a CapD declares policy.availability; estate_availability() reports per-capability grades + a
histogram (default non-managed). Honest grades added: compute-plane needs-work; commons /
verification / data-spheres almost-zd.
Tests: +5 tier +2 availability = 147 tools tests green. validate REQUIRED + Makefile `availability`.
Completes the three PaaS-lesson units (dev-mode #28, data-spheres #29, tiers+availability).
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.
The enterprise-PaaS governance the BlueMix Gen3/Gen4 diagrams model, done light + sovereign.
Account tiers (
admission.py) — BlueMix entitlement (Free/Paid) as quota + backend entitlement:TIERSfree|pro|enterprise setmax_concurrent/gpu_max/cost_budgetandallowed_backends(free→local/wasm; pro→+k8s/hpc/volunteer; enterprise→all).AdmissionController(tiers={subject:tier}); explicit quotas still override;allowed_backends()feedsplace(). Free tier denies GPU, fail-closed.Availability grade (
availability.py) — the DW-DevOps Zero-Downtime legend as a governance artifact (like the commons' reproducible/declared grade):non-managed → needs-work → almost-zd → zero-downtime; a CapD declarespolicy.availability;estate_availability()reports per-capability grades + a histogram. Honest grades added.146 tools tests green (+7). Completes the three PaaS-lesson units (dev-mode #28, data-spheres #29, this).