diff --git a/my_deploy.sh b/my_deploy.sh index e3ad5e71ae58f8546ecf7f24bf2a3a4c0d03cb37..ac25e6a2c8ff856e1e9038303e29896ecbe080c6 100755 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -22,6 +22,9 @@ 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 pathcomp service slice compute webui load_generator" +# Uncoment to activate TE +#export TFS_COMPONENTS="${TFS_COMPONENTS} te" + # Uncoment to activate Monitoring #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" diff --git a/src/te/README.md b/src/te/README.md index d6f1952ac31b971ee374b7810b6967f863442f58..dc5570e00f365a618a9e9dd0dbea6977aac7d1a3 100644 --- a/src/te/README.md +++ b/src/te/README.md @@ -67,6 +67,13 @@ The docker image must be built from the root of the Teraflow project: $ kubectl --namespace tfs exec -ti $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server -- /tfte/bin/tfte remote_console -## Show Logs +### Show Logs $ kubectl --namespace tfs logs $(kubectl --namespace tfs get pods --selector=app=teservice -o name) -c server + + +## Teraflow + +To build and deploy the TE service as part of Teraflow, the following line must be added or uncomented in your `my_deploy.sh`: + + export TFS_COMPONENTS="${TFS_COMPONENTS} te"