magnum/releasenotes/notes/improve-driver-discovery-df61e03c8749a34d.yaml
Jake Yip 8a30ad3462 Add feature to specify driver explicitly
Allow ClusterTemplate to explicitly specify a driver to use for creating
Clusters.

This is initially sourced from the image property 'magnum_driver', but
may be improved to be specified via client in the future.

Falls back to old driver discovery using (coe, server_type, os) tuple to
keep existing behaviour.

Change-Id: I9e206b589951a02360d3cef0282a9538236ef53b
2024-02-26 14:50:18 +11:00

15 lines
612 B
YAML

---
features:
- |
Add a feature to prevent drivers clashing when multiple drivers are able to
provide the same functionality.
Drivers used to be selected based on a tuple of (server_type, os, coe). This
can be a problem if multiple drivers provides the same functionality, e.g. a
tuple like (vm, ubuntu, kubernetes).
To allow for this, it is now possible to explicitly specify a driver name,
instead of relying on the lookup. The driver name is the same as the
entrypoint name, and can be specified by a Cluster Template through the
Glance image property "magnum_driver".