Code Review
/
iec.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d2d8ceabda95e84af03679ac246cd0248e0fb777
[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"