sergelogvinov / proxmox-csi-plugin

Proxmox CSI Plugin
Apache License 2.0
331 stars 28 forks source link

MountVolume.SetUp failed for volume "cloud-config" : secret "proxmox-csi-plugin" not found #279

Open outbackdingo opened 2 hours ago

outbackdingo commented 2 hours ago

i followed the install guide, and using talos, so it seems a step is missing

Install the plugin by using Talos machine config If you're running Talos you can install Proxmox CSI plugin using the machine config

  externalCloudProvider:
    enabled: true
    manifests:
      - https://raw.githubusercontent.com/sergelogvinov/proxmox-csi-plugin/main/docs/deploy/proxmox-csi-plugin.yml

im getting a Warning FailedMount 1s (x8 over 64s) kubelet MountVolume.SetUp failed for volume "cloud-config" : secret "proxmox-csi-plugin" not found

sergelogvinov commented 2 hours ago

Hello https://github.com/sergelogvinov/proxmox-csi-plugin/blob/main/docs/install.md#install-the-plugin-by-using-talos-machine-config You should definitely take a look at it 👍

outbackdingo commented 26 minutes ago

yes i saw that and configured as suck is described, so i re-read the document and noticed this line..

Upload the configuration to the Kubernetes as a secret

kubectl -n csi-proxmox create secret generic proxmox-csi-plugin --from-file=config.yaml

i tried it and it finally has come up and running, though now ive got

Warning  FailedScheduling  25m (x16 over 81m)  default-scheduler  0/6 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/6 nodes are avail │
│ able: 6 Preemption is not helpful for scheduling.

kubectl get pvc -A
NAMESPACE     NAME                             STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
vaultwarden   vaultwarden-data-vaultwarden-0   Pending 
                                                   <unset>                 118m

➜ proxmox git:(main) ✗ kubectl get sc NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE proxmox-data csi.proxmox.sinextra.dev Delete WaitForFirstConsumer true 3h10m proxmox-data-xfs csi.proxmox.sinextra.dev Delete WaitForFirstConsumer true 3h10m