Welcome to the Linux Foundation Forum!

Exercise 3.2: Grow the Cluster (5)

Hello, it's me again, and I'm hoping this question is not as dumb as the last one.

I'm at step 5. Create and use a Discovery Token

When I run the command.

openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed's/^.* //'

I get the following message.

-bash: seds/^.* //: No such file or directory

Any advise, and thank you in advance.

Comments

  • Hi @soramaru,

    The command from the lab guide works without any issues. The command from above doesn't because of a small typo.

    Regards,
    -Chris

  • @chrispokorni

    You were correct. It was a small typo. I forgot a space. Now I feel pretty foolish.
    Thanks for the hint.

Categories

Upcoming Training