my_deploy.sh 2.61 KB
Newer Older
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# ----- TeraFlowSDN ------------------------------------------------------------
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"
export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui load_generator l3_attackmitigator l3_centralizedattackdetector"
export TFS_IMAGE_TAG="dev"
export TFS_K8S_NAMESPACE="tfs"
export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml"
export TFS_GRAFANA_PASSWORD="admin123+"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export TFS_SKIP_BUILD=""

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# ----- CockroachDB ------------------------------------------------------------
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export CRDB_NAMESPACE="crdb"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the external port CockroackDB Postgre SQL interface will be exposed to.
export CRDB_EXT_PORT_SQL="26257"

# Set the external port CockroackDB HTTP Mgmt GUI interface will be exposed to.
export CRDB_EXT_PORT_HTTP="8081"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the database username to be used by Context.
export CRDB_USERNAME="tfs"
export CRDB_PASSWORD="tfs123"
export CRDB_DATABASE="tfs"
export CRDB_DEPLOY_MODE="single"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Disable flag for dropping database, if it exists.
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export CRDB_DROP_DATABASE_IF_EXISTS=""
export CRDB_REDEPLOY=""

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# ----- NATS -------------------------------------------------------------------
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export NATS_NAMESPACE="nats"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the external port NATS Client interface will be exposed to.
export NATS_EXT_PORT_CLIENT="4222"

# Set the external port NATS HTTP Mgmt GUI interface will be exposed to.
export NATS_EXT_PORT_HTTP="8222"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Disable flag for re-deploying NATS from scratch.
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export NATS_REDEPLOY=""
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

# ----- QuestDB ----------------------------------------------------------------

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the namespace where QuestDB will be deployed.
export QDB_NAMESPACE="qdb"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the external port QuestDB Postgre SQL interface will be exposed to.
export QDB_EXT_PORT_SQL="8812"

# Set the external port QuestDB Influx Line Protocol interface will be exposed to.
export QDB_EXT_PORT_ILP="9009"

# Set the external port QuestDB HTTP Mgmt GUI interface will be exposed to.
export QDB_EXT_PORT_HTTP="9000"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the database username to be used for QuestDB.
export QDB_USERNAME="admin"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the database user's password to be used for QuestDB.
export QDB_PASSWORD="quest"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the table name to be used by Monitoring for KPIs.
export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the table name to be used by Slice for plotting groups.
export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups"

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Disable flag for dropping tables if they exist.
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export QDB_DROP_TABLES_IF_EXIST=""
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Disable flag for re-deploying QuestDB from scratch.
delacal's avatar
delacal committed
export QDB_REDEPLOY=""
export CRDB_DROP_DATABASE_IF_EXISTS="YES"
export CRDB_REDEPLOY="YES"
export NATS_REDEPLOY="YES"
export QDB_REDEPLOY="TRUE"