Web“A sequence was not expected” is a YAML error, please provide the YAML and other relevant details such as hosted or self-hosted build agent. – bryanbcook Dec 9, 2024 at 12:59 Thanks for the feedback. Original post now edited to include YAML attempts. – Martin Walker Dec 9, 2024 at 14:38 Hi @Vito, No sorry, Still no progress in finding a solution. WebApr 5, 2024 · After run the command kubectl apply -f k8s . I successfully create the 'deployment_nodejs.yaml' but I failed deploying the other one. The error says the following: 'error: error parsing k8s/deployment_mongo.yaml: error converting YAML to JSON: yaml: line 20: did not find expected '-' indicator'.
Error converting YAML to JSON: did not find expected key
WebFeb 2, 2024 · The problem comes from the line below, you have an indentation problem there. ports should be at the same level than name. # indent the port bloc spec: containers: - name: django-react-ecommerce-master_backend_1 ports: - containerPort: 8000. Share. Improve this answer. WebNov 8, 2024 · 1 Your config implies that prometheus.yml comes from the configMap prometheus-server-conf. – flyx Nov 8, 2024 at 10:01 Add a comment 1 Answer Sorted by: 1 The error says the content of /etc/prometheus/prometheus.yml is malformed. Making sure that file contains valid YAML should fix your issue. is hp smartfriend worth it
Did not find expected ‘-‘ indicator while parsing a block …
WebSep 7, 2024 · Your build failed to run: failed unmarshalling build config cloudbuild.yaml: yaml: line 8: did not find expected key. ... (Your error, you use a generic docker image). You can Either define the correct entrypoint (here entrypoint: "docker") Or use a Cloud Builder, for docker, this one - name: 'gcr.io/cloud-builders/docker' WebMar 14, 2024 · yaml: line 20: did not find expected key How do i correct this error version: '2.2' x-airflow-common: &airflow-common image: apache/airflow:2.0.1 environment: … WebDec 7, 2024 · In case someone stumbles here, I used pip install yamllint (Thanks for the recommendation @Sibeesh ! ( redhat site) ) And in my particular case While parsing a block mapping, did not find expected key was caused by bad indentation like ,. stages: - stage: repo_deploy_poc jobs: - job: blah steps: - bash: echo "hello" # echo "hmm" # echo … is hp spectre x360 discontinued