title: How can get READY, STATUS, RESTARTS, AGE,etc in kubectl as custom-columns?
body: <p>I  just want to list pods with their <code>.status.podIP</code> as an extra column.
  It seems that as soon as I specify <code>-o=custom-colums=</code> the default columns <code>NAME, READY, STATUS, RESTARTS, AGE</code> will disappear.</p>
  <p>The closest I was able to get is</p>
  <pre><code>kubectl get pod -o wide -o=custom-columns=&quot;NAME:.metadata.name,STATUS:.status.phase,RESTARTS:.status.containerStatuses[0].restartCount,PODIP:.status.podIP&quot;
  </code></pre>
  <p>but that is not really equivalent to the the default columns in the following way:</p>
  <ul>
  <li>READY: I don't know how to get the default output (which looks like <code>2/2</code> or <code>0/1</code> by using custom columns</li>
  <li>STATUS: In the default behaviour STATUS, can be Running, Failed, <strong>Evicted</strong>, but <code>.status.phase</code> will never be <code>Evicted</code>. It seems that the default STATUS is a combination of <code>.status.phase</code> and <code>.status.reason</code>. <strong>Is there a way to say show <code>.status.phase</code> if it's Running but if not show <code>.status.reason</code>?</strong></li>
  <li>RESTARTS: This only shows the restarts of the first container in the pod (I guess the sum of all containers would be the correct one)</li>
  <li>AGE: Again I don't know how to get the age of the pod using custom-columns</li>
  </ul>
  <p>Does anybody know the definitions of the default columns in custom-columns syntax?</p>