Hi all! I'm trying to figure out an issue with the...
# rancher-setup
m
Hi all! I'm trying to figure out an issue with the harvester-cloud-provider deployment in Rancher. For some reason, there is a pod which is looking for a cloud-config mounted from the Rancher host under
/var/lib/rancher/rke2/etc/config-files/cloud-provider-config
as configured in the deployment, but fails because nothing is there that can be mounted 🤔
Copy code
k describe deployments.apps harvester-cloud-provider        
...
Pod Template:
  Labels:           <http://app.kubernetes.io/instance=harvester-cloud-provider|app.kubernetes.io/instance=harvester-cloud-provider>
                    <http://app.kubernetes.io/name=harvester-cloud-provider|app.kubernetes.io/name=harvester-cloud-provider>
  Annotations:      <http://cattle.io/timestamp|cattle.io/timestamp>: 2025-08-05T11:32:21Z
  Service Account:  harvester-cloud-provider
  Containers:
   harvester-cloud-provider:
    Image:      rancher/harvester-cloud-provider:v0.2.4
    Port:       <none>
    Host Port:  <none>
    Command:
      harvester-cloud-provider
    Args:
      --cloud-config=/etc/kubernetes/cloud-config
      --cluster-name=local
    Environment:  <none>
    Mounts:
      /etc/kubernetes/cloud-config from cloud-config (rw)
  Volumes:
   cloud-config:
    Type:          HostPath (bare host directory volume)
    Path:          /var/lib/rancher/rke2/etc/config-files/cloud-provider-config
    HostPathType:  File
...
Even though this pod cannot start properly, I can use harvester through Rancher to create a cluster. I was wondering if I'm missing some manual configuration or what would even be expected here as a config.