Replies: 1 comment
-
See: #3033 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There,
I need to create a kubernetes controller that will check for VMs in a given VM Group. If I want to do this using govc I just need to
govc cluster.group.ls -name <nameOfTheGroup>
and I will get the vms in the group, similarly if I want to add vms I would use thegovc cluster.group.change
command.However, I struggle to understand how govc and govmomi are linked in that matter. I tried to retrieve a ClusterComputeResource or and from there try to get the vmGroup. But I don't know how to get from the ClusterComputeResource to a vmGroup. I tried with ResourcePools but I have the same issue.
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions