<p>I am seeing multiple and different explanations for imperative Vs Declarative for Kubernetes - something like Imperative means when we use yaml files to create the resources to describe the state and declarative vice versa.</p>

<p>what is the real and clear difference between these two. I would really appreciate if you can put the group of commands fall under the same - like Create under imperative way etc ..</p>

<p>"Imperative" is a command - like "create 42 widgets".</p>

<p>"Declarative" is a statement of the desired end result - like "I want 42 widgets to exist".</p>

<p>Typically, your yaml file will be declarative in nature: it will say that you want 42 widgets to exist.  You'll give that to Kubernetes, and it will execute the steps necessary to end up with having 42 widgets.</p>

<p>"Create" is itself an imperative command, but what you're creating is a Kubernetes cluster.  What the cluster should look like is determined by the declarations in the yaml file.</p>
