Skip to content

DirectPV can't bind volumes #4

@c0c0n3

Description

@c0c0n3

Can't get DirectPV 3.2.2 to work with K8s 1.25.4 or 1.26.0. (DirectPV doesn't yet support K8s 1.26.0, but for the record, I had the same problem.) It looks like DirectPV can't bind volumes or pods should specify some kind of node affinity to help K8s schedule.

Steps to reproduce

  1. Do a fresh install of our Qemu dev VM and start the VM.
  2. Install DirectPV: kubectl directpv install --image 'directpv:v3.2.2'
  3. Format the two empty volumes: kubectl directpv drives format --drives /dev/sda2,/dev/sda3 --nodes devm
  4. kubectl apply -f the MinIO example DirectPV provide: https://github.com/minio/directpv/blob/master/minio.yaml
  5. K8s can't schedule the minio-0 b/c it can't find any available persistent volumes to bind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions