An open API service indexing awesome lists of open source software.

https://github.com/kodal/cluster-api-provider-vmwaredesktop

Cluster API Infrastructure Provider for VMWare Desktop (VMWare Fusion, VMWare Workstation)
https://github.com/kodal/cluster-api-provider-vmwaredesktop

cluster-api vmware vmware-fusion vmware-workstation

Last synced: 4 months ago
JSON representation

Cluster API Infrastructure Provider for VMWare Desktop (VMWare Fusion, VMWare Workstation)

Awesome Lists containing this project

README

          

# Cluster API Provider Vmware Desktop (Workstation, Fusion)

## Description
The Cluster API Provider Vmware Desktop (CAVD) provides a way to declaratively create and manage cluster on Vmware Desktop with `vmrest`, in a Kubernetes-native way. It extends the Kubernetes API with Custom Resource Definitions (CRDs) allowing you to interact with clusters in the same fashion you interact with workload.

## Getting Started

### Prerequisites
- Understanding Cluster API [Quick Start](https://cluster-api.sigs.k8s.io/user/quick-start)
- Vmware Desktop Hypervisor (Workstation or Fusion, tested only with Fusion)
- Prepared Virtual Machine by [image-builder](https://image-builder.sigs.k8s.io/capi/providers/vsphere) with `build-node-ova-local-` or [factory-talos](https://factory.talos.dev/) `Cloud/Vmware` (only amd64 supports by Talos)
- Running `vmrest` [Doc](https://techdocs.broadcom.com/us/en/vmware-cis/desktop-hypervisors/fusion-pro/13-0/using-vmware-fusion/guide-and-help-using-the-vmware-fusion-rest-api/guide-and-help-use-the-fusion-api-service.html)

### Required env variables
```
# Example
VMREST_URL="http://host.docker.internal:8697/api" # http://localhost:8697/api vmrest url
VMREST_USERNAME="user"
VMREST_PASSWORD="password"
TEMPLATE_VM_ID="LIVK1CGKIC5J71SNTC711F7O9TR3BDDQ" # VM ID from vmrest/api/vms prepared with defined kubernetes version
```

### Available template flavors `--flavor`
- flannel
- talos

## License

Copyright 2025.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.