<p>I attempted but there is an error..i also see See   <strong>'kubectl run --help' for usage.</strong>
but i can't fix it..</p>
<pre><code>kubectl run pod pod4 --image=aamirpinger/helloworld:latest --port=80 --annotaions=createdBy=&quot;Muhammad Shahbaz&quot; --restart=Never
</code></pre>
<p><strong>Error: unknown flag: --annotaions</strong></p>

<p><code>kubectl run</code> supports specifying annotations via the <code>--annotations</code> flag that can be specified multiple times to apply multiple annotations.</p>
<p>For example:</p>
<pre><code>$ kubectl run --image myimage --annotations=&quot;foo=bar&quot; --annotations=&quot;another=one&quot; mypod
</code></pre>
<p>results in the following:</p>
<pre><code>$ kubectl get pod mypod -o yaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    foo: bar
    another: one
[...]
</code></pre>
