<p>From &quot;Extending kubectl with plugins&quot;:</p>
<blockquote>
<p>It is currently not possible to create plugins that overwrite existing
<code>kubectl</code> commands. [...] Due to this limitation, it is also not
possible to use plugins to add new subcommands to existing <code>kubectl</code>
commands. For example, adding a subcommand <code>kubectl create foo</code> by
naming your plugin <code>kubectl-create-foo</code> will cause that plugin to be
ignored.</p>
<p>-- <a href="https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/#limitations" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/#limitations</a></p>
</blockquote>
<p>Is there another way to extend <code>kubectl create</code>?</p>

ciis0
<p>It does not look like that in source code, all sub-commands are currently registered explicitly (<a href="https://github.com/kubernetes/kubernetes/blob/db8d77cfeb0593b0accc17804df43834cc7f9917/staging/src/k8s.io/kubectl/pkg/cmd/create/create.go#L142-L160" rel="nofollow noreferrer">cf.</a>):</p>
<pre class="lang-golang prettyprint-override"><code>    // create subcommands
    cmd.AddCommand(NewCmdCreateNamespace(f, ioStreams))
    cmd.AddCommand(NewCmdCreateQuota(f, ioStreams))
    cmd.AddCommand(NewCmdCreateSecret(f, ioStreams))
    cmd.AddCommand(NewCmdCreateConfigMap(f, ioStreams))
    cmd.AddCommand(NewCmdCreateServiceAccount(f, ioStreams))
    cmd.AddCommand(NewCmdCreateService(f, ioStreams))
    cmd.AddCommand(NewCmdCreateDeployment(f, ioStreams))
    cmd.AddCommand(NewCmdCreateClusterRole(f, ioStreams))
    cmd.AddCommand(NewCmdCreateClusterRoleBinding(f, ioStreams))
    cmd.AddCommand(NewCmdCreateRole(f, ioStreams))
    cmd.AddCommand(NewCmdCreateRoleBinding(f, ioStreams))
    cmd.AddCommand(NewCmdCreatePodDisruptionBudget(f, ioStreams))
    cmd.AddCommand(NewCmdCreatePriorityClass(f, ioStreams))
    cmd.AddCommand(NewCmdCreateJob(f, ioStreams))
    cmd.AddCommand(NewCmdCreateCronJob(f, ioStreams))
    cmd.AddCommand(NewCmdCreateIngress(f, ioStreams))
    cmd.AddCommand(NewCmdCreateToken(f, ioStreams))
    return cmd
</code></pre>
