Skip to content

Storage provisioner broken for multinode mode #12165

Closed
@R-omk

Description

@R-omk

It seems that the hostpath provisioner is completely unsuitable for multinode installations.

It must create and prepare directories on the exact host on which a pv is requested. In addition, it must add nodeaffinity for every hostpath pv exactly the same as it happens at https://github.com/rancher/local-path-provisioner

Steps to reproduce the issue:

  1. minikube create -n 3
  2. install any statefulset that requests pv and has pod anti affinity rule

minikube version: v1.22.0
storage-provisioner: image: 'gcr.io/k8s-minikube/storage-provisioner:v5'

Metadata

Metadata

Assignees

No one assigned

    Labels

    addon/storage-provisionerIssues relating to storage provisioner addonco/multinodeIssues related to multinode clustershelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions