Thursday, May 6, 2021

Tanzu Kubernetes Cluster and Virtual Machine Class

.

Recently I upgraded my environment with vSphere 7 Update 2 and while doing some new tests with vSphere with Tanzu, like Virtual Machine services (more about it on a latter post), to my surprise the creation of Tanzu Kubernetes Cluster with an YAML file I’ve been using for several months for my demos failed

 

When I describe the deployment of TKG cluster I found out an error saying VirtualMachineClassBindingNotFound.

 



Running the command “kubectl get virtualmachineclasses” proved that the Virtual Machine Class I was using on my descriptive file was available inside the Namespace.

 



That’s when I remember the new Virtual Machine Service and decided to take an extra look to my Namespace’s configuration.

 

To my surprise (it should not be) there’s an entire new section for VM Service and one of the options is to configure VM Classes

 



Once I enabled the VM Class I was using on my TKG Cluster everything worked as expected and my cluster was created successfully.

 


This improvement enhanced a lot the governance of the platform, allowing operators to control the resources the developers can consume in a very stylish way.

 

See you next

 

No comments:

Post a Comment

Who am I

My photo
I’m an IT specialist with over 15 years of experience, working from IT infrastructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Consulting Architect, helping customers to embrace the Cloud Era and make them successfully on their journey. Despite the fact I'm a VMware employee these postings reflect my own opinion and do not represents VMware's position, strategies or opinions. Reach me at @dumeirell

Most Viewed Posts

Blog Archive