<p>Why can't we create PV or PVC in imperative way?</p>
<p>Trying using create command, but it doesn't show any of them.</p>
<p><code>kubectl create --help</code></p>
<pre><code>Available Commands:
  clusterrole         Create a ClusterRole.
  clusterrolebinding  Create a ClusterRoleBinding for a particular ClusterRole
  configmap           Create a configmap from a local file, directory or literal value
  cronjob             Create a cronjob with the specified name.
  deployment          Create a deployment with the specified name.
  ingress             Create an ingress with the specified name.
  job                 Create a job with the specified name.
  namespace           Create a namespace with the specified name
  poddisruptionbudget Create a pod disruption budget with the specified name.
  priorityclass       Create a priorityclass with the specified name.
  quota               Create a quota with the specified name.
  role                Create a role with single rule.
  rolebinding         Create a RoleBinding for a particular Role or ClusterRole
  secret              Create a secret using specified subcommand
  service             Create a service using specified subcommand.
  serviceaccount      Create a service account with the specified name
   
</code></pre>

Nurhun
<p>As described in the <a href="https://kubernetes.io/docs/tasks/manage-kubernetes-objects/imperative-command/" rel="noreferrer">documentation</a> <code>kubectl</code> uses imperative commands <strong>built into the kubectl command-line tool</strong> in order to help you creating objects quickly.</p>
<p>After some checks it seems like this is not available because it has not been implemented yet. You can see the full list of the create options at <strong>kubectl/pkg/cmd/<a href="https://github.com/kubernetes/kubectl/tree/master/pkg/cmd/create" rel="noreferrer">create</a></strong>.
For example, <a href="https://github.com/kubernetes/kubernetes/pull/78153" rel="noreferrer">#78153</a> was responsible for <code>kubectl create ingress</code> functionality.</p>
<p>You would probably get more information and perhaps reasons why this is not implemented by asking the developers and opening a <a href="https://github.com/kubernetes/kubectl/issues/new/choose" rel="noreferrer">new issue</a>.</p>
