Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust grep on config pod wait check #8

Open
obriensystems opened this issue Dec 2, 2017 · 0 comments
Open

Adjust grep on config pod wait check #8

obriensystems opened this issue Dec 2, 2017 · 0 comments

Comments

@obriensystems
Copy link
Member

From: Ramki Krishnan [mailto:[email protected]]
Sent: Saturday, December 2, 2017 10:05
To: Michael O'Brien [email protected]
Subject: minor fix in your script

Hi Michael,

Your script needs a minor fix, need to change grep 1/1 to grep 0/1.

usually the prepull takes up to 15 min - however hourly builds will finish the docker pulls before the config pod is finisheed

echo "verify onap-config is 0/1 not 1/1 - as in completed"
while [ $(kubectl get pods -n onap -a | grep config | grep 0/1 | wc -l) -gt 0 ]; do
sleep 15
echo "waiting for config pod to complete"
done

echo "start onap pods"

--
Thanks,
Ramki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant