cluster-api-provider-vsphere
cluster-api-provider-vsphere copied to clipboard
Support resource configuration on VSphere Machine API
/kind feature
Describe the solution you'd like Today the vSphere Machine API supports configuring an amount of CPU and memory, but no limit. In this case, setting this counters just represents "a count" but a user or an admin cannot limit and have some QoS over what is requested and what is guaranteed (as per Kubernetes resource/limits model).
Setting memory and cpu requests and limits is supported on VMOperator mode.
The desire here is, following the simpler approach as possible, add the CPU and Memory requests and limits on VSphereMachineCloneSpec and also inheriting this to the VSphereMachineTemplate.
Then, during the clone process, consume this information and create the underlying virtual machines containing also the right resource configuration
Anything else you would like to add:
Environment:
- Cluster-api-provider-vsphere version:
- Kubernetes version: (use
kubectl version): - OS (e.g. from
/etc/os-release):
/assign