add warning for multi-master setups

This commit is contained in:
iwilltry42 2019-11-11 09:33:41 +01:00
parent 45cc1ed57b
commit 1ca9193776

View File

@ -94,9 +94,9 @@ func parseCreateClusterCmd(cmd *cobra.Command, args []string) (runtimes.Runtime,
}
// TODO: allow more than one master
// if masterCount > 1 {
// log.Fatalln("Only one master node supported right now!")
// }
if masterCount > 1 {
log.Warnln("Multi-Master is setup not fully implemented/supported right now!")
}
// --workers
workerCount, err := cmd.Flags().GetInt("workers")