Issue-Id: AIMLFW-45
Change-Id: I407b38fca0d9bb5f39cb4a714c59a9d4e209e690
Signed-off-by: josephthaliath <jo.thaliath@samsung.com>
END_EPOCH=$4
chmod +x kafka-client-send-file-ready-qoe.sh
-kubectl cp kafka-client-send-file-ready-qoe.sh nonrtric/client:/home/appuser -c client
+kubectl cp kafka-client-send-file-ready-qoe.sh nonrtric/kafka-client:/home/appuser -c kafka-client
-kubectl exec client -c client -n nonrtric -- bash -c './kafka-client-send-file-ready-qoe.sh '$NODE_NAME_BASE' '$FILENAME' '$START_EPOCH' '$END_EPOCH' '
+kubectl exec kafka-client -c kafka-client -n nonrtric -- bash -c './kafka-client-send-file-ready-qoe.sh '$NODE_NAME_BASE' '$FILENAME' '$START_EPOCH' '$END_EPOCH' '
echo "done"
fi
kubectl patch StatefulSet pm-https-server -n ran -p '{"spec":{"template":{"spec":{"containers":[{"name":"pm-https-server", "env":[{"name":"ALWAYS_RETURN", "value":""}]}]}}}}'
-while [[ $(kubectl get pods pm-https-server-0 -n ran -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for pm-https-server to be up" && sleep 1; done
-kubectl exec -it pm-https-server-0 -n ran -- mkdir -p /files
+kubectl rollout status statefulset/pm-https-server -n ran
+kubectl exec -it pm-https-server-0 -n ran -c pm-https-server -- mkdir -p /files
sudo apt install -y python3-pip
pip3 install pandas
wget https://raw.githubusercontent.com/o-ran-sc/ric-app-qp/g-release/src/cells.csv -O qoedata.csv