mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
Handle add/remove for etcd nodes
Handle adding more than one etcd at once
This commit is contained in:
@@ -12,9 +12,6 @@ func (c *Cluster) ValidateCluster() error {
|
||||
if len(c.ControlPlaneHosts) == 0 {
|
||||
return fmt.Errorf("Cluster must have at least one control plane host")
|
||||
}
|
||||
if len(c.EtcdHosts)%2 == 0 {
|
||||
return fmt.Errorf("Cluster must have odd number of etcd nodes")
|
||||
}
|
||||
if len(c.WorkerHosts) == 0 {
|
||||
return fmt.Errorf("Cluster must have at least one worker plane host")
|
||||
}
|
||||
|
Reference in New Issue
Block a user