<pre><code>apiVersion: projectcalico.org/v3
kind: NetworkPolicy

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
</code></pre>
<p>By using <code>kubectl get networkpolicy</code>, I can see only the policies created by <code>networking.k8s.io/v1</code> and not those created by <code>projectcalico.org/v3</code>. Any suggestion how to see the latter ones?</p>

<p><code>kubectl get XXX</code> does not display all the resources in the cluster, in your case you cannot see CRD</p>
<ul>
<li>You can find your object with <code>kubectl get crds</code></li>
<li>Then <code>kubectl get &lt;crd name&gt; -A</code></li>
</ul>
<hr />
<p>In your case it would be:</p>
<pre class="lang-bash prettyprint-override"><code># Get all the CRD from the desired type
kubectl get projectcalico.org/v3 -A

# Now grab the desired name and do whatever you want with it
kubectl describe &lt;CRD&gt;/&lt;resource name&gt; -n &lt;namespace&gt;
</code></pre>
<hr />
<p><a href="https://i.stack.imgur.com/Sop3X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sop3X.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/BF4Nq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BF4Nq.png" alt="enter image description here" /></a></p>
