summaryrefslogtreecommitdiffstats
path: root/utils/src
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2015-11-30 15:30:02 -0400
committerDevan Goodwin <dgoodwin@redhat.com>2015-11-30 15:51:14 -0400
commit4f6794ea6b3b7eb7383a74cb35e8ce6d445675c8 (patch)
treee2a534cc404fb31d02797e28f55ee02497fc6d97 /utils/src
parentcdd9aa7543f869aab5914fb816a66ed0debb0930 (diff)
downloadopenshift-4f6794ea6b3b7eb7383a74cb35e8ce6d445675c8.tar.gz
openshift-4f6794ea6b3b7eb7383a74cb35e8ce6d445675c8.tar.bz2
openshift-4f6794ea6b3b7eb7383a74cb35e8ce6d445675c8.tar.xz
openshift-4f6794ea6b3b7eb7383a74cb35e8ce6d445675c8.zip
Suggest dedicated nodes for an HA deployment.
Diffstat (limited to 'utils/src')
-rw-r--r--utils/src/ooinstall/cli_installer.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/src/ooinstall/cli_installer.py b/utils/src/ooinstall/cli_installer.py
index 249a8a7d9..8f9d82f43 100644
--- a/utils/src/ooinstall/cli_installer.py
+++ b/utils/src/ooinstall/cli_installer.py
@@ -188,6 +188,15 @@ finished entering hosts.
"""
click.echo(ha_message)
+ dedicated_nodes_message = """
+WARNING: Dedicated Nodes are recommended for an HA deployment. If no dedicated
+Nodes are specified, each configured Master will be marked as a schedulable
+Node.
+"""
+ dedicated_nodes = [host for host in hosts if host.node and not host.master]
+ if len(dedicated_nodes) == 0:
+ click.echo(dedicated_nodes_message)
+
click.echo('')