Dashboard version: v1.8.3
Kubernetes version: v1.10.0
Operating system: Linux docker5 4.9.80-hypriotos-v7+ #1 SMP Tue Mar 27 07:46:13 UTC 2018 armv7l GNU/Linux (RaspberryPi3, HypriotOS)
Node.js version:
Go version:
kubectl apply -f https://github.com/kubernetes/dashboard/blob/v1.8.3/src/deploy/recommended/kubernetes-dashboard-arm.yamlkubectl apply -f https://github.com/kubernetes/dashboard/blob/v1.8.3/src/deploy/recommended/kubernetes-dashboard-arm.yamlerror: error converting YAML to JSON: yaml: line 325: mapping values are not allowed in this context
deploy successful
Seems strange that it reports an error on the non-existent line 325 as if the yaml were concatenated against another file. Also, it's the exact same command that previously worked.
I think it's better to use raw.
https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml
just try:
curl https://github.com/kubernetes/dashboard/blob/v1.8.3/src/deploy/recommended/kubernetes-dashboard-arm.yaml
and
curl https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml
No difference, regardless of which I use I can't reinstall the dashboard after an initial installation.
@andrei-dascalu why? just try:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml
kubectl delete -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml
Most helpful comment
@andrei-dascalu why? just try:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yamlkubectl delete -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yamlkubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.3/src/deploy/recommended/kubernetes-dashboard.yaml