WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

Creating Custom Virtual Machine Classes using vSphere API

03.24.2026 by William Lam // Leave a Comment

Back in 2020, the vSphere UI was the only way to create your own custom Virtual Machine Classes, there was not a vSphere API and while you can directly connect to vSphere Supervisor Control Plane, it was not officially supported 🙂


With the release of vSphere 7.0 Update 2, the vSphere Automation REST API has been enhanced to include APIs for managing VM Classes.

A question recently came up about automating custom VM Classes. While the user referenced my earlier blog post, I realized I had not revisited this topic using the updated vSphere REST API. This was a great opportunity to provide a working example and timely, as I had just got access to Cursor.

[Read more...]

Categories // vSphere Kubernetes Service, vSphere Supervisor Tags // VCF 9.0

Quick Tip - Using VCF CLI to login to vSphere Supervisor when configured with VCF Automation

12.05.2025 by William Lam // 1 Comment

When a vSphere Supervisor Cluster is configured to be consumed by VCF Automation, the Identity Provider (IdP) for that vSphere Supervisor is automatically configured to redirect to VCF Automation (VCFA) as an OIDC relay.


When an end user wishes to access or manage their resources, they will be directed to the IdP that has been configured for their Organization Portal. To create a k8s login context, they will need to create a VCFA API token that is then passed to the VCF CLI before they can interact with their resources using kubectl.

Below is an example VCF CLI command where I am logging into an Organization Portal called legal and I have specified my VCFA endpoint along with the VCFA API Token to login as an end user.

vcf context create legal --endpoint auto01.vcf.lab --api-token $VCF_CLI_VCFA_API_TOKEN --insecure-skip-tls-verify --type cci --tenant-name legal

However, if you are an administrator who is managing the underlying VCF Infrastructure and need to troubleshoot or access the vSphere Supervisor Cluster, an alternative workflow will be required.

[Read more...]

Categories // VCF Automation, VMware Cloud Foundation, vSphere Kubernetes Service, vSphere Supervisor Tags // VCF 9.0

Quick Tip - vSphere Supervisor fails to complete due to vSAN Health Check Alerts

10.17.2025 by William Lam // 1 Comment

I just re-deployed my VMware Cloud Foundation (VCF) 9.0.1 lab setup this evening, and after configuring configuring VCF Networking with VPC, I proceeded with vSphere Supervisor enablement using VPC. I had exported my previous vSphere Supervisor configuration to JSON, so the enablement should have been a no-op but as it was about to complete, I noticed there was this "Apply Solution" vCenter Server task that just kept failing with the following error message:

A general system error occurred: Health Check for 'esx03.vcf.lab' failed


I was really baffled by the error message and what health check was failing!?! I did know the Apply Solution typically would involve EAM (ESX Agent Manager), but I did not see anything out of the blue and I was in the process of filing an internal bug.

While I was waiting for the support bundles to generate and download, I figured I try searching for the keywords in our internal Google Chat in case someone had ran into error before. While there were few matches, there were no follow-ups or resolution. I was about to give up and then I saw a comment from Maher AlAsfar mentioning that if you use vSAN, make sure to silence all vSAN alerts as that is being checked by vSphere Lifecycle Manager (vLCM) as part of its healh check compliance!

Sure enough, I had two vSAN Health Check Alerts!


Once I silenced the vSAN alerts, the Apply Solution task completed immediately, and about a minute later, the vSphere Supervisor enablement also finished.

Categories // VMware Cloud Foundation, vSphere Supervisor Tags // VCF 9.0

  • 1
  • 2
  • 3
  • …
  • 5
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Automating VCF 9.0 Single Sign-On (SSO) with OIDC-based Identity Provider 04/10/2026
  • Automating Lab Optimizations for Post-Deployment of VMware Cloud Foundation (VCF) 04/06/2026
  • Maximizing vSAN ESA Performance on Minisforum MS-A2 03/31/2026
  • Creating Custom Virtual Machine Classes using vSphere API 03/24/2026
  • VCF Installer Deploying VVF Components with VCF Entitlements 03/17/2026

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

 

Loading Comments...