https://rancher.com/ logo
Title
r

refined-analyst-8898

03/26/2023, 11:01 PM
When creating an RKE2 cluster with the Harvester Cloud Provider, how can I influence the Harvester storage class that is selected for guest cluster workload PVCs? In the guest cluster, the visible storage class is "harvester", and the driver always picks the Harvester storage class "longhorn" which was the default when the Harvester was installed, but is not the current default storage class.
I found no mention of "longhorn" in the git repo. The
harvester-cloud-provider
chart, I suspect, is responsible for this bit of configuration. It was installed in the guest cluster by Rancher Manager.
> helm get values -n kube-system harvester-cloud-provider
USER-SUPPLIED VALUES:
global:
  cattle:
    systemDefaultRegistry: ""
  clusterCIDR: 10.42.0.0/16
  clusterCIDRv4: 10.42.0.0/16
  clusterCIDRv6: ""
  clusterDNS: 10.43.0.10
  clusterDomain: cluster.local
  rke2DataDir: /var/lib/rancher/rke2
  serviceCIDR: 10.43.0.0/16
  systemDefaultRegistry: ""