POD Yaml file issue

Hi , I am using below code to create a pod. but its throwing error. Please help me out.

Code -
apiVersion: v1
kind: pod
metadata
name: my-pod
labels:
app: mypod1
tier: frontend
spec:
containers:
-name: nginx
image: nginx "

Error - "Error from server (BadRequest): error when creating “pod.yaml”: pod in version “v1” cannot be handled as a Pod: no kind “pod” is registered for version “v1” in scheme “k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30

Hello, @rahulc.devops
first letter of resource name should be capital.

kind: Pod

Thanks a lot…It worked