Hello,
I have this simple-pod.yaml file
apiVersion: v1
kind: Pod
metadata:
name: pod-ngnix
app: nginx_app
spec:
containers:
- name: nginx-container
image: nginx:latest
but when I run kubectl apply -f simple-pod.yaml
then I see this error :
error: error parsing simple-pod.yaml: error converting YAML to JSON: yaml: line 8: did not find expected '-' indicator
what did I do wrong here ?