deploy_specs.sh 1.21 KB
Newer Older
# Set the URL of your local Docker registry where the images will be uploaded to.
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
# Supported components are:
#   context device automation policy service compute monitoring webui
#   interdomain slice pathcomp dlt
#   dbscanserving opticalattackmitigator opticalattackdetector
#   l3_attackmitigator l3_centralizedattackdetector l3_distributedattackdetector
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export TFS_COMPONENTS="context device monitoring pathcomp service slice compute webui" # automation

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"

# Set the name of the Kubernetes namespace to deploy to.
export TFS_K8S_NAMESPACE="tfs"

# Set additional manifest files to be applied after the deployment
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml src/common/method_wrappers/tests/servicemonitors.yaml"

# Set the new Grafana admin password
export TFS_GRAFANA_PASSWORD="admin123+"

# If not already set, disable skip-build flag.
# If TFS_SKIP_BUILD is "YES", the containers are not rebuilt-retagged-repushed and existing ones are used.
export TFS_SKIP_BUILD="NO" #${TFS_SKIP_BUILD:-"YES"}