Container/Kubernetes
[Kubernetes] 쿠버네티스 YAML 파일 들여쓰기 에러(error: error parsing /root/kubespray/inventory/mycluster/deployment/nginx-app.yaml: error converting YAML to JSON: yaml: line 4: found character that cannot start any token)
KoreaNirsa
2020. 2. 11. 13:55
반응형
쿠버네티스 YAML 파일 들여쓰기 에러(error: error parsing /root/kubespray/inventory/mycluster/deployment/nginx-app.yaml: error converting YAML to JSON: yaml: line 4: found character that cannot start any token)는 YAML 파일을 apply 하거나 할 때 발생할 수 있습니다.

YAML 파일에서는 탭을 사용한 들여쓰기를 지원하지 않기 때문에 스페이스바로 작성 후 재시도 하시면 에러가 해결 됩니다.
반응형