<p>I try to see all the kubernetes object used to create a deployment. How to see theses objects created when <code>kubectl run mydep --image=busybox</code> ?</p>

<p>After running <code>kubectl run mydep --image=busybox</code> , Existing objects can be viewed in a ready to use YAML output using below command:</p>

<pre><code>  kubectl get deployments mydep --export -o yaml
</code></pre>
