Added logs for iotgateway
[eliot.git] / blueprints / iotgateway / scripts / edgex / edgexonk8s.sh
index f7171e1..efef947 100755 (executable)
 # The script is to setup the Edgex Foundry application as POD in Kubernetes.          #
 #######################################################################################
 
+echo "**********************************************************************"
+echo "Edgex Platform Deployment--------------------------------------STARTED"
 
 echo "Deploying Edgex Platform on IOT-Gateway Edge Node"
+edgexPath=`pwd`
 git clone https://github.com/edgexfoundry-holding/edgex-kubernetes-support.git
 cd edgex-kubernetes-support/releases/edinburgh/kubernetes
 ls
 kubectl create -k .
+cd ${edgexPath}
 echo "-----------------------------------------------------------"
 echo "Edgex platform PODs"
 kubectl get pod
@@ -33,7 +37,8 @@ kubectl expose deployment edgex-support-rulesengine --type=NodePort --name=rules
 kubectl expose deployment edgex-support-logging --type=NodePort --name=loggingnodeport
 kubectl get svc | grep NodePort
 
-
+echo "**********************************************************************"
+echo "Edgex Platform Deployment--------------------------------------SUCCESS"