Welcome to the Linux Foundation Forum!

Typeo Slide 7.13.a Deployment Rollbacks

Hi,
I tried to use the record function and thought I was fat fingering it. So I copied and pasted it from the slide.
kubectl create deploy ghost --image=ghost --record

I get this output.

Use "kubectl options" for a list of global command-line options (applies to all commands).

unknown flag: --record

The Deployment doesn't seem to like the record switch.
Is there another I can try?

Comments

  • btanoue
    btanoue Posts: 59

    Is there a new way that isn't deprecated that I should be learning? I like the idea of annotations.
    Or
    kubectl create deployment ghost image=ghost
    To create it. Then how do I add the recording after?

  • btanoue
    btanoue Posts: 59

    Hi,

    can you write the two commands. I’d like to try that first. I’m ok with creating and then adding the annotation. I want to see how it works.


    Thanks

  • btanoue
    btanoue Posts: 59

    Thanks for the clarification.

  • Still not updated, just got hit by the same issue.

    @serewicz said:
    I'll make sure to update the content.
    Regards,

    >

  • mstepien
    mstepien Posts: 591

    @MichalWiczynski,

    It will be updated in the next course release.

Categories

Upcoming Training