-
Notifications
You must be signed in to change notification settings - Fork 2
feat(vmclass): use percentage format for coreFractions values #1601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @loktev-d, your pull request is larger than the review limit of 150000 diff characters
Signed-off-by: Daniil Loktev <70405899+loktev-d@users.noreply.github.com>
| coreFractions: | ||
| description: | | ||
| Допустимые значения параметра `coreFraction`. | ||
| Допустимые значения параметра `coreFraction` в процентах (например, "5%", "10%", "25%", "50%", "100%"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Допустимые значения параметра `coreFraction` в процентах (например, "5%", "10%", "25%", "50%", "100%"). | |
| Максимальная доля использования ядра CPU в процентах (например, "5%", "10%", "25%", "50%", "100%"). |
Тут каждого ядра? Всех ядер?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мне кажется немного будет сбивать с толку, потому что тут указываются именно допустимые значения
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мне кажется немного будет сбивать с толку, потому что тут указываются именно допустимые значения
А... тут по сути список возможных coreFractions чтоли. Хм... Блин, описание такое себе конечно. И в целом в спеке есть подобные не понятные штуки.. пупупу...
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Co-authored-by: Artem Kladov <6360800+z9r5@users.noreply.github.com> Signed-off-by: Daniil Loktev <70405899+loktev-d@users.noreply.github.com> Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
This reverts commit ca8b840. Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
ffe3f98 to
5458ff6
Compare
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
|
Workflow has started. The target step completed with status: failure. |
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
This reverts commit 1855184. Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
3684ec9 to
6c747b2
Compare
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
|
Workflow has started. The target step completed with status: failure. |
|
Workflow has started. The target step completed with status: failure. |
| */ | ||
|
|
||
| package v1alpha3 | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var _ conversion.Hub = &VirtualMachineClass{}
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Signed-off-by: Daniil Loktev <lokt.daniil@gmail.com>
Description
Introduce
v1alpha3version ofVirtualMachineClasswith percentage string format (e.g., 5 → "5%") forcoreFractions. Use Kubernetes conversion webhooks for version compatibility betweenv1alpha2andv1alpha3Key changes
v1alpha2is hub,v1alpha3is spoke). Injected into VirtualMachineClass CRD on controller startup.Why do we need it, and what problem does it solve?
What is the expected result?
Checklist
Changelog entries