X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fscripts%2Fedgex%2Fedgexonk8s.sh;h=efef9473b649cf87f801a75540856d7c0d598091;hb=49b2a10b484a7da1da41c89ea0c986c80b2ba266;hp=2043b756624dae4cde23b143c70785e31a4ad993;hpb=f7a1ce6ba152e040f3c7122e32270645f605ebd2;p=eliot.git diff --git a/blueprints/iotgateway/scripts/edgex/edgexonk8s.sh b/blueprints/iotgateway/scripts/edgex/edgexonk8s.sh index 2043b75..efef947 100755 --- a/blueprints/iotgateway/scripts/edgex/edgexonk8s.sh +++ b/blueprints/iotgateway/scripts/edgex/edgexonk8s.sh @@ -11,14 +11,24 @@ # 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 +echo "-----------------------------------------------------------" +echo "-----------------------------------------------------------" +echo "Edge platform Kubernetes Services" kubectl get svc +echo "-----------------------------------------------------------" kubectl expose deployment edgex-core-consul --type=NodePort --name=consulnodeport kubectl expose deployment edgex-core-command --type=NodePort --name=commandnodeport kubectl expose deployment edgex-core-data --type=NodePort --name=datanodeport @@ -27,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"