Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
203e9cd5
Commit
203e9cd5
authored
1 year ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Fix OFC'22 deploy specs
parent
b8db5bdf
No related branches found
No related tags found
1 merge request
!142
Release TeraFlowSDN 2.1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tests/ofc22/deploy_specs.sh
+57
-1
57 additions, 1 deletion
src/tests/ofc22/deploy_specs.sh
with
57 additions
and
1 deletion
src/tests/ofc22/deploy_specs.sh
+
57
−
1
View file @
203e9cd5
...
...
@@ -20,7 +20,24 @@
export
TFS_REGISTRY_IMAGES
=
"http://localhost:32000/tfs/"
# Set the list of components, separated by spaces, you want to build images for, and deploy.
export
TFS_COMPONENTS
=
"context device automation monitoring pathcomp service slice compute webui"
#export TFS_COMPONENTS="context device pathcomp service slice compute webui load_generator"
export
TFS_COMPONENTS
=
"context device pathcomp service slice compute webui"
# Uncomment to activate Monitoring
export
TFS_COMPONENTS
=
"
${
TFS_COMPONENTS
}
monitoring"
# Uncomment to activate Automation and Policy Manager
#export TFS_COMPONENTS="${TFS_COMPONENTS} automation policy"
export
TFS_COMPONENTS
=
"
${
TFS_COMPONENTS
}
automation"
# Uncomment to activate Optical CyberSecurity
#export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager"
# Uncomment to activate L3 CyberSecurity
#export TFS_COMPONENTS="${TFS_COMPONENTS} l3_attackmitigator l3_centralizedattackdetector"
# Uncomment to activate TE
#export TFS_COMPONENTS="${TFS_COMPONENTS} te"
# Set the tag you want to use for your images.
export
TFS_IMAGE_TAG
=
"dev"
...
...
@@ -31,6 +48,12 @@ export TFS_K8S_NAMESPACE="tfs"
# Set additional manifest files to be applied after the deployment
export
TFS_EXTRA_MANIFESTS
=
"manifests/nginx_ingress_http.yaml"
# Uncomment to monitor performance of components
export
TFS_EXTRA_MANIFESTS
=
"
${
TFS_EXTRA_MANIFESTS
}
manifests/servicemonitors.yaml"
# Uncomment when deploying Optical CyberSecurity
#export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/cachingservice.yaml"
# Set the new Grafana admin password
export
TFS_GRAFANA_PASSWORD
=
"admin123+"
...
...
@@ -43,6 +66,12 @@ export TFS_SKIP_BUILD=""
# Set the namespace where CockroackDB will be deployed.
export
CRDB_NAMESPACE
=
"crdb"
# 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"
# Set the database username to be used by Context.
export
CRDB_USERNAME
=
"tfs"
...
...
@@ -68,6 +97,12 @@ export CRDB_REDEPLOY=""
# Set the namespace where NATS will be deployed.
export
NATS_NAMESPACE
=
"nats"
# 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"
# Disable flag for re-deploying NATS from scratch.
export
NATS_REDEPLOY
=
""
...
...
@@ -77,6 +112,15 @@ export NATS_REDEPLOY=""
# Set the namespace where QuestDB will be deployed.
export
QDB_NAMESPACE
=
"qdb"
# 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"
# Set the database username to be used for QuestDB.
export
QDB_USERNAME
=
"admin"
...
...
@@ -86,8 +130,20 @@ export QDB_PASSWORD="quest"
# Set the table name to be used by Monitoring for KPIs.
export
QDB_TABLE_MONITORING_KPIS
=
"tfs_monitoring_kpis"
# Set the table name to be used by Slice for plotting groups.
export
QDB_TABLE_SLICE_GROUPS
=
"tfs_slice_groups"
# Disable flag for dropping tables if they exist.
export
QDB_DROP_TABLES_IF_EXIST
=
"YES"
# Disable flag for re-deploying QuestDB from scratch.
export
QDB_REDEPLOY
=
""
# ----- K8s Observability ------------------------------------------------------
# Set the external port Prometheus Mgmt HTTP GUI interface will be exposed to.
export
PROM_EXT_PORT_HTTP
=
"9090"
# Set the external port Grafana HTTP Dashboards will be exposed to.
export
GRAF_EXT_PORT_HTTP
=
"3000"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment