- Go 1.24+
- Docker (for building container images)
A Makefile is provided that sets build flags with automatically derived version information.
make # Build the cloudstack-ccm binary
make docker # Build and tag the container image
make lint # Run linting (fmt, vet, golangci-lint)
make test # Run tests, vet, and format checksYou can run the CCM locally against a Kubernetes cluster and CloudStack API:
./cloudstack-ccm --cloud-provider cloudstack --cloud-config /path/to/cloud-config --master <k8s-apiserver>Replace <k8s-apiserver> with the hostname or address of your Kubernetes API server.
If you don't have a CloudStack installation available, you can use the CloudStack simulator image for dry-run testing.