VMware Cloud Community
VMWTanzu
Contributor
Contributor

vsphere datastore recommendation

We have a product where kubernetes pods request vsphere for a datastore (DS) recommendation where they can place a vmdk file. When multiple pods try to make that request in parallel, vsphere is most likely to give the same recommendation since a pod's vmdk file might not have been placed on the DS before the other one requested.

https://www.youtube.com/watch?v=TwWIB9LcfZw explains this behavior for a different situation than ours.

I am looking for a solution in vSphere where I will be able to overcome this behavior without any additional packages. There was a solution suggested in https://www.vcdx200.com/2018/06/ where VraInitPlacement property was recommended as a way. Unfortunately, that is not something that we can use since it requires that VRA is installed. What this property would have essentially done is to serialize requests such that DS can make better recommendations.

Appreciate any help/pointers to help make DS recommendation better. Please do let me know if this question belongs in a different location.

 

 

Labels (1)
0 Kudos
0 Replies