Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Error parsing redis-master-deployment.yaml #73

Open
wise-ksf opened this issue Nov 5, 2019 · 0 comments
Open

Error parsing redis-master-deployment.yaml #73

wise-ksf opened this issue Nov 5, 2019 · 0 comments

Comments

@wise-ksf
Copy link

wise-ksf commented Nov 5, 2019

I'm experimenting with v2 of the guestbook app and am finding there is an early problem with instructions at https://github.com/IBM/guestbook/tree/master/v2

In particular, in my cluster, when I run

$ kubectl create -f redis-master-deployment.yaml

I get the following error message:

In my laptop running minikube with GitVersion v1.16.2 and Platform:"darwin/amd64" after testing my installation with hello-minikube as per https://kubernetes.io/docs/setup/learning-environment/minikube/ and downloading redis-master-deployment.yaml onto my local HDD:

error: error parsing redis-master-deployment.yaml: error converting YAML to JSON: yaml: line 114: mapping values are not allowed in this context

In katacode.com running minikube v1.3.0 in the Launch Single Node Kubernetes Cluster scenario (I ran the scenario, then also tried doing the instructions for guestbook v2, starting with this failed first instruction:

$ kubectl create -f https://github.com/IBM/guestbook/blob/master/v2/redis-master-deployment.yaml

error: error parsing https://github.com/IBM/guestbook/blob/master/v2/redis-master-deployment.yaml: error converting YAML to JSON: yaml: line 114: mapping values are not allowed in this context

Having seen the same error in two different clusters, I think the error is with redis-master-deployment.yaml and not with both clusters.

Hope this helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant