From 743362a19409330f2bddc352671e09ed6ff5bab5 Mon Sep 17 00:00:00 2001
From: merle <sebastien.merle@stritzinger.com>
Date: Tue, 11 Jul 2023 06:22:36 -0700
Subject: [PATCH] Update readme for Teraflow deployment

---
 my_deploy.sh     | 3 +++
 src/te/README.md | 9 ++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/my_deploy.sh b/my_deploy.sh
index e3ad5e71a..ac25e6a2c 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 d6f1952ac..dc5570e00 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"
-- 
GitLab