paint-brush
kubectl tip of the day: wait like a bossby@mhausenblas
24,993 reads
24,993 reads

kubectl tip of the day: wait like a boss

by Michael Hausenblas2mOctober 27th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How do you wait for something to happen with <code class="markup--code markup--p-code">kubectl</code>? I used to use a <code class="markup--code markup--p-code">while true</code> <a href="https://hackernoon.com/tagged/loop" target="_blank">loop</a> in a shell <a href="https://hackernoon.com/tagged/script" target="_blank">script</a> and check with a complicated <code class="markup--code markup--p-code">kubectl get</code> command until I’d see a certain condition, such as <code class="markup--code markup--p-code">condition=Ready</code> would be met. No more!&nbsp;:)

Company Mentioned

Mention Thumbnail
featured image - kubectl tip of the day: wait like a boss
Michael Hausenblas HackerNoon profile picture
Michael Hausenblas

Michael Hausenblas

@mhausenblas

L O A D I N G
. . . comments & more!

About Author

Michael Hausenblas HackerNoon profile picture
Michael Hausenblas@mhausenblas

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite