Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -521,21 +521,24 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then
export WORKER_MEMORY=9000
;;
"SNO" )
export MASTER_VCPU=4
if is_lower_version "$OPENSHIFT_VERSION" "4.22"; then
export MASTER_VCPU=8
fi
export NUM_MASTERS=1
export MASTER_VCPU=8
export MASTER_DISK=100
export MASTER_MEMORY=32768
export NUM_WORKERS=0
export NETWORK_TYPE="OVNKubernetes"
export AGENT_PLATFORM_TYPE="${AGENT_PLATFORM_TYPE:-"none"}"
if [[ "${AGENT_PLATFORM_TYPE}" != "external" ]] && [[ "${AGENT_PLATFORM_TYPE}" != "none" ]]; then
echo "Invalid value ${AGENT_PLATFORM_TYPE}, use 'none' or 'external'."
echo "Invalid value ${AGENT_PLATFORM_TYPE}, use 'none' or 'external'."
exit 1
fi
;;
"SNOMIN" )
"SNOE2E" )
export NUM_MASTERS=1
export MASTER_VCPU=4
export MASTER_VCPU=8
export MASTER_DISK=100
export MASTER_MEMORY=32768
export NUM_WORKERS=0
Expand Down
8 changes: 4 additions & 4 deletions config_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,10 +857,10 @@ set -x
# - SNO_IPV6
# - SNO_IPV4_DHCP
# - SNO_IPV6_DHCP
# - SNOMIN_IPV4
# - SNOMIN_IPV6
# - SNOMIN_IPV4_DHCP
# - SNOMIN_IPV6_DHCP
# - SNOE2E_IPV4
# - SNOE2E_IPV6
# - SNOE2E_IPV4_DHCP
# - SNOE2E_IPV6_DHCP
# When set, the code internally sets other low level details such as disk size, memory, number of masters and workers,
# cpu and ip stack.
# This config variable is used only by the agent based installer and is required.
Expand Down