<p>How can I deploy a CRD on K8s cluster without using <code>kubectl create -f crd.yaml</code></p>

Gopikrishna
<p>kubectl is simply a client to the api, so you can do so with any API client, like client libraries for different languages. My choice would be <strong>Go</strong> as that's kubes native language so it'll always be up to date with latest version.</p>

<p>First create new CRD object in memory, and then use native client with something like</p>

<pre><code>client.ApiextensionsV1beta1().CustomResourceDefinitions().Create(crd)
</code></pre>
