How to format the output of kubectl describe to JSON
<p><code>kubectl get</code> command has this flag <code>-o</code> to format the output.</p>

<p>Is there a similar way to format the output of the <code>kubectl describe</code> command?</p>

<p>For example:</p>

<pre><code>kubectl describe -o="jsonpath={...}" pods my-rc
</code></pre>

<p>would print a JSON format for the list of pods in <code>my-rc</code> replication controller. But <code>-o</code> is not accepted for the <code>describe</code> command.</p>