Root@controlplane:~# kubectl create -f pod-defination.yml --validate=false --dry . . .

Lav:
root@controlplane:~# kubectl create -f pod-defination.yml --validate=false --dry-run
W0512 09:44:31.487196 28422 helpers.go:553] --dry-run is deprecated and can be replaced with --dry-run=client.
pod/lavtest created (dry run)
root@controlplane:~#

Tej_Singh_Rana:
Hello, @Lav
apiVersion should be “v1” insteadd of “apps/v1” and in kind, "p" should be in capital letter.

apiVersion: v1
kind: Pod

Lav:
is this fine now?

Lav:

apiversion: v1
kind: Pod
metadata:
    name: lav
    lables:
        app: myapp

spec:
    containers:
        - name: lav
          image: ngnix

Lav:

apiversion: v1
kind: Pod
metadata:
    name: lav
    lables:
        app: myapp

spec:
    containers:
        - name: lav
          image: ngnix

Tharanath:
it should be labels