<p>I am installing Custom Resources through an  Operator. However, <code>kubectl apply</code> is blocked on<br>
<em>"Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "my-crd.example.com" not found."</em></p>

<p>If there were a switch on  <code>kubectl apply</code> along the lines of <code>--no-typechecking</code>, it would solve this. I would not cause a problem with a missing CRD, because the <code>apply</code> just sends the Kubernetes objects to etcd. Then, by the time that the Operator  actually constructs the Custom Resource,  the Custom Resource Definition would be available. (I have other code that guarantees that.) </p>

<p>So, can I suspend the typechecking that produces this error?</p>

<p>No, you can’t use a CRD API without actually creating the CRD. It’s not a type check, it’s how the system works through and through.</p>
