On AWS, GCP, Azure I think there's a way to figure out what cloud provider your on. For example, there is a metadata service running on nodes for things like DNS.
At the same time there are resources, like PersistentVolumes which have fields specific to some cloud providers. Also the "volume handle" on AWS is an ARN, on GCP it's like a URL.
This might be a terrible idea when the user can just specify --cloud-provider=hetzner.
On AWS, GCP, Azure I think there's a way to figure out what cloud provider your on. For example, there is a metadata service running on nodes for things like DNS.
At the same time there are resources, like
PersistentVolumeswhich have fields specific to some cloud providers. Also the "volume handle" on AWS is an ARN, on GCP it's like a URL.This might be a terrible idea when the user can just specify
--cloud-provider=hetzner.