values.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # CSI controller service
  2. controller:
  3. # controller.replicaCount -- Number of replicas for CSI controller service.
  4. replicaCount: 1
  5. # lvmd service
  6. lvmd:
  7. # lvmd.deviceClasses -- Specify the device-class settings.
  8. deviceClasses:
  9. - name: vg0
  10. volume-group: vg0
  11. default: true
  12. spare-gb: 10
  13. # lvmd.affinity -- Specify affinity.
  14. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  15. affinity:
  16. nodeAffinity:
  17. requiredDuringSchedulingIgnoredDuringExecution:
  18. nodeSelectorTerms:
  19. - matchExpressions:
  20. - key: topolvm-lvmd.cluster.local/schedulable
  21. operator: NotIn
  22. values:
  23. - "false"
  24. tolerations:
  25. - key: workstation.cluster.local
  26. operator: Equal
  27. value: 'true'
  28. effect: NoSchedule
  29. - key: edge.cluster.local/not-schedulable
  30. operator: Equal
  31. effect: NoSchedule
  32. node:
  33. # lvmd.affinity -- Specify affinity.
  34. ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  35. affinity:
  36. nodeAffinity:
  37. requiredDuringSchedulingIgnoredDuringExecution:
  38. nodeSelectorTerms:
  39. - matchExpressions:
  40. - key: topolvm-node.cluster.local/schedulable
  41. operator: NotIn
  42. values:
  43. - "false"
  44. tolerations:
  45. - key: workstation.cluster.local
  46. operator: Equal
  47. value: 'true'
  48. effect: NoSchedule
  49. - key: edge.cluster.local/not-schedulable
  50. operator: Equal
  51. effect: NoSchedule