As part of the lab i created a YAML file .
apiVersion: V1
kind: Pod
metadata:
name: redis
spec:
containers:
- name: redis
image: redis123
When I try to run this getting the following error.
aster $ kubectl create -f redis.yml
error: unable to recognize “redis.yml”: no matches for kind “Pod” in version “V1”