<p>For <code>kubectl describe</code> I can abbreviate a few classes of resources, for example:</p>
<pre><code>po/xxx -&gt; pods/xxx
rs/xxx -&gt; replicasets/xxx
</code></pre>
<p>Where can I find the full list?</p>
<p>I'm trying to find the abbreviation for deployments.</p>

gabriel
<p>To get a full list of your resources, including their <em>shortname</em>, use:</p>
<pre><code>kubectl api-resources
</code></pre>
<p>e.g. Deployment has the shorthname <code>deploy</code>.</p>
<hr />
<p>Example output from <code>kubectl api-resources</code>:</p>
<pre><code>NAME         SHORTNAMES APIVERSION   NAMESPACED KIND
daemonsets   ds         apps/v1      true       DaemonSet
deployments  deploy     apps/v1      true       Deployment
replicasets  rs         apps/v1      true       ReplicaSet
statefulsets sts        apps/v1      true       StatefulSet
...
</code></pre>
