Welcome to the 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.



Upcoming Training