Welcome to the Linux Foundation Forum!

Chapter 8 - Lab with error

Robson Esteves
Robson Esteves Posts: 20
edited November 2017 in LFS258 Class Forum

Hi,

I'm trying to run the Chapater 8 Labs starting using the nginx.yaml as recommended in the lab instructions.

However, I'm receiving the following error after the command kubectl create -f nginx.yaml:

error: error converting YAML to JSON: yaml: line 13: did not find expected key 

I tried to review some possible changes in the format checking the Kubernetes.io pages....but I didn'r find the solution.

Could you help me?

Thanks!

Robson

 

 

Comments

  • borja
    borja Posts: 3

    Maybe your text editor (or the copy&paste action from the PDF) have introduced no wanted <TAB> characters and they are breaking the indentation flow.

Categories

Upcoming Training