mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(provision): try volume creation on all the nodes
Currently controller picks one node and the node agent keeps on trying to create the volume on that node. There might not be enough space available on that node to create the volume. The controller can try on all the nodes sequentially and fail the request if volume creation fails on all the nodes which satisfies the topology contraints. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
8cc56377bd
commit
04f7635b6f
8 changed files with 128 additions and 80 deletions
|
|
@ -186,6 +186,6 @@ type VolStatus struct {
|
|||
// The state "Pending" means that the volume creation request has not
|
||||
// processed yet. The state "Ready" means that the volume has been created
|
||||
// and it is ready for the use.
|
||||
// +kubebuilder:validation:Enum=Pending;Ready
|
||||
// +kubebuilder:validation:Enum=Pending;Ready;Failed
|
||||
State string `json:"state,omitempty"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue