|
|
|
@ -7,8 +7,8 @@ CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" |
|
|
|
|
source "$CURR_DIR/common.sh" |
|
|
|
|
|
|
|
|
|
info "Creating two clusters..." |
|
|
|
|
$EXE --verbose create cluster c1 --wait 60 --api-port 6443 || failed "could not create cluster c1" |
|
|
|
|
$EXE --verbose create cluster c2 --wait 60 --api-port 6444 || failed "could not create cluster c2" |
|
|
|
|
$EXE --verbose create cluster c1 --wait --timeout 60 --api-port 6443 || failed "could not create cluster c1" |
|
|
|
|
$EXE --verbose create cluster c2 --wait --timeout 60 --api-port 6444 || failed "could not create cluster c2" |
|
|
|
|
|
|
|
|
|
info "Checking we have access to both clusters..." |
|
|
|
|
check_k3d_clusters "c1" "c2" || failed "error checking cluster" |
|
|
|
|