UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 20ec6a19 authored by Christopher O'Connell's avatar Christopher O'Connell
Browse files

Merge branch 'k3d_metallb_default_behavior' into 'master'

Make metalLB the default k3d load balancer, deprecate -m, add -M to disable MetalLB

See merge request !5745
parents 4ecc282b eb7f6a90
No related branches found
No related tags found
1 merge request!5745Make metalLB the default k3d load balancer, deprecate -m, add -M to disable MetalLB
Pipeline #3936405 passed
......@@ -11,7 +11,7 @@ SSHUSER=ubuntu
action=create_instances
ATTACH_SECONDARY_IP=${ATTACH_SECONDARY_IP:=false}
BIG_INSTANCE=false
METAL_LB=false
METAL_LB=true
PRIVATE_IP=false
PROJECTTAG=default
RESET_K3D=false
......@@ -80,12 +80,12 @@ function process_arguments {
;;
-m)
echo "-m option passed to install MetalLB"
if [[ "${ATTACH_SECONDARY_IP}" = false ]]; then
METAL_LB=true
else
echo "Disabling -m option because -a was specified."
fi
echo "-m option is deprecated (default behavior is to install and use metallb)"
;;
-M)
echo "Disabling metalLB"
METAL_LB=false
;;
-a)
......@@ -162,7 +162,8 @@ function process_arguments {
echo "========= These options apply regardless of cloud provider ================"
echo
echo " -K recreate the k3d cluster on the host"
echo " -m create k3d cluster with metalLB load balancer"
echo " -m create k3d cluster with metalLB load balancer (this option is deprecated - this is now the default behavior)"
echo " -M do NOT use a metalLB load balancer"
echo " -p use private IP for security group and k3d cluster"
echo " -t Set the project tag on the instance (for managing multiple instances)"
echo " -w install the weave CNI instead of the default flannel CNI"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment