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

Error parsing redis-master-deployment.yaml #73

@wise-ksf

Description

@wise-ksf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions