title: Wait for kubernetes job to complete on either failure/success using command line
body: <p>What is the best way to wait for kubernetes job to be complete?  I noticed a lot of suggestions to use:</p>
  <pre><code>kubectl wait --for=condition=complete job/myjob
  </code></pre>
  <p>but i think that only works if the job is successful. if it fails, i have to do something like:</p>
  <pre><code>kubectl wait --for=condition=failed job/myjob
  </code></pre>
  <p>is there a way to wait for both conditions using wait?  if not, what is the best way to wait for a job to either succeed or fail?</p>