my_deploy.sh 1 KB
Newer Older
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
# Set the URL of your local Docker registry where the images will be uploaded to.
export TFS_REGISTRY_IMAGE="http://localhost:32000/tfs/"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

# Set the list of components, separated by comas, 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 opticalcentralizedattackdetector
#   l3_attackmitigator l3_centralizedattackdetector l3_distributedattackdetector
export TFS_COMPONENTS="context device automation service compute monitoring webui l3_attackmitigator l3_centralizedattackdetector"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

# Set the name of the Kubernetes namespace to deploy to.
export TFS_K8S_NAMESPACE="tfs"
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

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

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