Welcome to the Linux Foundation Forum!

kubectl create --image

I'm working on section 3.13, Is --image a valid option for the kubectl create command?

I get an error "unknown flag --image" when I use the command:

kubectl create time-date --image=localhost:5000/mysimpleapp:v.1.0

Error: unknown flag: --image



  • Beren
    Beren Posts: 7

    Missing the deployment command?

  • Hi @Beren,
    I would suggest following the syntax of the commands from the lab exercises. Commands and outputs in the lecture material may be for illustration purposes, and not presented in a complete working format.



Upcoming Training