Install the new k8s version and related components
[iec.git] / src / foundation / api / k8s / check.sh
1 #!/bin/bash -ex
2 svcip=$(kubectl get services iec-apiserver-svc  -o json | grep clusterIP | cut -f4 -d'"')
3 sleep 1
4 wget -O /dev/null "http://$svcip"
5 wget -O /dev/null "http://$svcip/v1/iec/status"