[FEATURE] Allow custom naming of nodes (#167)

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
Hunter CastenandDevin Buhl authored and GitHub committed 2021-12-20 15:28:10 -05:00
1 parent 4e60849dbf
commit b37dbd7c3c
2 files changed
+72 -5

No files matched your search

+12
View File
@@ -35,6 +35,15 @@ export BOOTSTRAP_ANSIBLE_KUBE_VIP_INTERFACE=""
# e.g. 192.168.1.254
export BOOTSTRAP_ANSIBLE_KUBE_VIP_ADDRESS=""
#
# Default prefixes for hostnames assigned by Ansible
# These are unused on nodes where BOOTSTRAP_ANSIBLE_HOSTNAME_ is provided
#
export BOOTSTRAP_ANSIBLE_DEFAULT_CONTROL_NODE_HOSTNAME_PREFIX="k8s-"
export BOOTSTRAP_ANSIBLE_DEFAULT_NODE_HOSTNAME_PREFIX="k8s-"
#
# Ansible hosts - repeat this block as many times as you need,
# incrementing the last digit on the variable name for each node
@@ -49,8 +58,11 @@ export BOOTSTRAP_ANSIBLE_SSH_USERNAME_0=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_0=""
# Set this node as a control node (true/false)
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_0=""
# Optionally set the hostname of the node, if set this will override the *_HOSTNAME_PREFIX vars above
export BOOTSTRAP_ANSIBLE_HOSTNAME_0=""
# export BOOTSTRAP_ANSIBLE_HOST_ADDR_1=""
# export BOOTSTRAP_ANSIBLE_SSH_USERNAME_1=""
# export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_1=""
# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1=""
# export BOOTSTRAP_ANSIBLE_HOSTNAME_1=""