kubernetes-sigs / cluster-api-provider-vsphere

Apache License 2.0
373 stars 294 forks source link

Support resource configuration on VSphere Machine API #2358

Open rikatz opened 1 year ago

rikatz commented 1 year ago

/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:

/assign

sbueringer commented 1 year ago

Sounds good!

rikatz commented 1 year ago

just an update, I didn't had time to touch back this and library implementation yet but I plan on doing it during Kubecon week :D

k8s-triage-robot commented 10 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 9 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

zhanggbj commented 8 months ago

I assume this is still valid. /remove-lifecycle rotten

k8s-triage-robot commented 4 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

neolit123 commented 3 months ago

/remove-lifecycle stale

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale