Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Updating the definition#

Sumit Rawal answered on June 20, 2023 Popularity 4/10 Helpfulness 1/10

Contents


More Related Answers

  • Updating database in sql
  • c# update sql statement
  • sql update \
  • Update
  • UPDATE
  • Adding/Updating Entries #
  • Perform the Update
  • update
  • update()
  • update()
  • update
  • update

  • Updating the definition#

    0

    Since we saved the configuration, we can apply an updated definition of the ReplicaSet. For example, we can use go-demo-2-scaled.yml file that differs only in the number of replicas set to 4.

    We could have created the ReplicaSet with apply in the first place, but we didn’t. The apply command automatically saves the configuration so that we can edit it later on. The create command does not do such thing by default so we had to save it with --save-config.

    1

    kubectl apply -f go-demo-2-scaled.yml

    Apply changed definition of 'go-demo-2'

    This time, the output is slightly different. Instead of saying that the ReplicaSet was created, we can see that it was “configured”. 

    Popularity 4/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 20 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.