Welcome to the new Linux Foundation Forum!

Got error: unknown flag: --command in Lesson 12 : Basic Troubleshooting Step Error:

In Lession 12 Basic Troubleshooting Step Error,
I ran the example "kubectl create deploy busybox --image=busybox --command sleep 3600".

But I got error message:

Error: unknown flag: --command
See 'kubectl create deployment --help' for usage.

Check kubectl create --help, I can not find --comand flag. Maybe it has been deprecated.

I run this command in my local minikube.

Thank you.

Comments

  • chrispokornichrispokorni Posts: 469

    Hi @weijenlu,

    Thank you for your feedback.
    This shall be revised and corrected as needed in a future course update release.

    Regards,
    -Chris

Sign In or Register to comment.