Welcome to the Linux Foundation Forum!

LAB 5.7 instruction 10

Options

Hi everyone,

I tried to type this follow command :

curl -sL https://run.linkerd.io/emojivoto.yml \
| sed 's| metadata:| metadata:\n annotations:\n consul.hashicorp.com/connect-inject: "true"|' \
| kubectl apply -f -

but it doesn't work.
result:

namespace/emojivoto unchanged
serviceaccount/emoji unchanged
serviceaccount/voting unchanged
serviceaccount/web unchanged
service/emoji-svc unchanged
service/voting-svc unchanged
service/web-svc unchanged
error: error parsing STDIN: error converting YAML to JSON: yaml: line 17: did not find expected key

Coud you help me.

Thank you,

Best Regards

Mike

Categories

Upcoming Training