hostpath-provisioner.yaml 458 B

12345678910111213141516171819
  1. apiVersion: hostpathprovisioner.kubevirt.io/v1beta1
  2. kind: HostPathProvisioner
  3. metadata:
  4. name: hostpath-provisioner
  5. spec:
  6. imagePullPolicy: Always
  7. storagePools:
  8. - name: "local"
  9. path: "/var/hpvolumes"
  10. workload:
  11. nodeSelector:
  12. kubernetes.io/os: linux
  13. kubevirt.cluster.local/schedulable: "true"
  14. tolerations:
  15. - key: "workstation.cluster.local"
  16. operator: "Equal"
  17. value: "true"
  18. effect: "NoSchedule"