-
Epic
-
Resolution: Done
-
Normal
-
None
-
None
-
cnv-rate-limiting-api
-
False
-
-
False
-
- a simple API to set raw numbers of the kubevirt rate limitng is availible to admins
-
Green
-
To Do
-
CNV-8291 - CNV Scalability
-
0% To Do, 0% In Progress, 100% Done
-
dev-ready, doc-ready, po-ready, px-ready, qe-ready, ux-ready
-
-
---
-
---
Goal
Adjusting the rate limiting to scaling scenarios requires currently a command line like
oc patch hco -n openshift-cnv kubevirt-hyperconverged --type=merge -p '{"metadata":{"annotations":{"kubevirt.kubevirt.io/jsonpatch":"[{\"op\":\"add\",\"path\":\"/spec/configuration\",\"value\":{\"apiConfiguration\":{\"restClient\":{\"rateLimiter\":{\"tokenBucketRateLimiter\":{\"burst\":200,\"qps\":100}},\"controllerConfiguration\":{\"restClient\":{\"rateLimiter\":{\"tokenBucketRateLimiter\":{\"burst\":400,\"qps\":200}}}},\"handlerConfiguration\":{\"restClient\":{\"rateLimiter\":{\"tokenBucketRateLimiter\":{\"burst\":400,\"qps\":200}}}},\"webhookConfiguration\":{\"restClient\":{\"rateLimiter\":{\"tokenBucketRateLimiter\":{\"burst\":400,\"qps\":200}}}}}},{\"op\": \"add\", \"path\": \"/spec/customizeComponents/patches\", \"value\": [{\"resourceType\": \"Deployment\", \"resourceName\": \"virt-api\", \"type\": \"json\", \"patch\": \"[
{\\\"op\\\": \\\"replace\\\", \\\"path\\\": \\\"/spec/replicas\\\", \\\"value\\\": 10}]\"}]}]"}}}'}}
It would be more pleasant for the user, if there would be an API to set the values and be open to being extended by CNV-14170, e.g.
{{
Kind: HCO
Spec:
tuning:
Static: # Easy
aNumber: 44
bNumber: 55
}}
User Stories
- As an Admin, I want to prepare my cluster for scaling scenarios using the "OpenShift Virtualization - Tuning & Scaling Guide", so that many VMs can be created in a single batch.
Non-Requirements
- Setting the values automatically.
Notes
- Any additional details or decisions made/needed
Done Checklist
Who | What | Reference |
---|---|---|
DEV | Upstream roadmap issue (or individual upstream PRs) | https://github.com/kubevirt/hyperconverged-cluster-operator/issues/2152 |
DEV | Upstream documentation merged | hyperconverged-cluster-operator/docs/cluster-configuration.md |
DEV | gap doc updated | NA |
DEV | Upgrade consideration | NA |
DEV | CEE/PX summary presentation | NA |
QE | Test plans in Polarion | NA |
QE | Automated tests merged | NA |
DOC | Downstream documentation merged | NA |
- blocks
-
CNV-14170 Manually adjust KubeVirt rate limiting by profile name
- Closed