# 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
kubectl expose deployment edgex-support-logging --type=NodePort --name=loggingnodeport
kubectl get svc | grep NodePort
-
+echo "**********************************************************************"
+echo "Edgex Platform Deployment--------------------------------------SUCCESS"