X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Fstop_pods.sh;h=1bc83f6f2b050ca537365c86accf45ea7d53f9d0;hb=900ceda884f7cd92be20bfb1fb3a424073dc4316;hp=fa67b13f668c1d975690de74f4c12203d5c380d8;hpb=2513eea5c9c4a1685ab6cbf0c2727d21399de5c7;p=nonrtric.git diff --git a/service-exposure/stop_pods.sh b/service-exposure/stop_pods.sh old mode 100644 new mode 100755 index fa67b13f..1bc83f6f --- a/service-exposure/stop_pods.sh +++ b/service-exposure/stop_pods.sh @@ -19,7 +19,7 @@ # ============LICENSE_END========================================================= # -export host=$(minikube ip) +export host=$(kubectl get nodes -o wide | tail -1 | sed s'/ */ /'g | cut -f6 -d' ') echo "Undeploying applications..." echo "---------------------------"