When I run command to create kubernetes dashboard it throws below error
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml error: error parsing https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml: error converting YAML to JSON: yaml: line 8: did not find expected document start
I downloaded the yaml file and tried
ERROR: kubectl create -f kubernetes-dashboard.yaml error: error parsing kubernetes-dashboard.yaml: error converting YAML to JSON: yaml: line 25: mapping values are not allowed in this context
Could someone please assist on this?