IBM / container-service-getting-started-wt

Other
95 stars 212 forks source link

deployment "hello-world" scaled is mixed with the command line #114

Closed hintcnuie closed 4 years ago

hintcnuie commented 4 years ago

in the first step, it says:

  1. kubectl provides a scale subcommand to change the size of an existing deployment. Let's us it to go from our single running instance to 10 instances.

    $ kubectl scale --replicas=10 deployment hello-world
    deployment "hello-world" scaled

but it's better to separate the result and command, think about this. it's more clear for the script to be executed and avoid misunderstanding.

$ kubectl scale --replica=10 deployment hello-world
jgarcows commented 4 years ago

Fixed and merged.