mirror of https://github.com/kubernetes/kops.git
				
				
				
			Merge pull request #1607 from justinsb/single_az_ha
Make etcd-members-in-same-instance-group into a warning
This commit is contained in:
		
						commit
						1903d19dc2
					
				| 
						 | 
				
			
			@ -152,8 +152,7 @@ func (c *populateClusterSpec) run() error {
 | 
			
		|||
					instanceGroupName := fi.StringValue(m.InstanceGroup)
 | 
			
		||||
 | 
			
		||||
					if etcdInstanceGroups[instanceGroupName] != nil {
 | 
			
		||||
						// Maybe this should just be a warning
 | 
			
		||||
						return fmt.Errorf("EtcdMembers are in the same InstanceGroup %q in etcd-cluster %q", instanceGroupName, etcd.Name)
 | 
			
		||||
						glog.Warningf("EtcdMembers are in the same InstanceGroup %q in etcd-cluster %q (fault-tolerance may be reduced)", instanceGroupName, etcd.Name)
 | 
			
		||||
					}
 | 
			
		||||
 | 
			
		||||
					//if clusterSubnets[zone] == nil {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue