Skip to content

Conversation

@Creativeklvn
Copy link

@Creativeklvn Creativeklvn commented Jan 26, 2026

How to update a running Deployment to a new version using rolling updates

This PR adds a step-by-step guide on updating a running Kubernetes Deployment to a new version using rolling updates, without causing service interruption.

Includes

  • Checking the current Deployment
  • Updating the Deployment using kubectl set image
  • Monitoring rollout progress
  • Verifying the update
  • Rolling back if needed
  • Links to Pods and rolling updates for further reading

This guide ensures that users can safely perform updates while keeping applications available.

#54120

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 26, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Jan 26, 2026
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Jan 26, 2026
@k8s-ci-robot k8s-ci-robot requested a review from thockin January 26, 2026 23:57
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign katcosgrove for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 26, 2026
@netlify
Copy link

netlify bot commented Jan 27, 2026

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 14d7fb2
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/6978c0cfcf6f6400083931c7
😎 Deploy Preview https://deploy-preview-54152--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Creativeklvn Creativeklvn force-pushed the update-deployment-rolling branch from b20b1dd to 14d7fb2 Compare January 27, 2026 13:42
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jan 27, 2026
Copy link
Member

@lmktfy lmktfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

@Creativeklvn are you sure that this is the change that you wanted to suggest? It seems like a mixture of several unrelated improvements.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems really unrelated to the change that the PR's title suggest we'd see.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My apologies, I am only starting to wrap my head around git. I'll properly create new branches and open a new PR.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 28, 2026
@Creativeklvn Creativeklvn deleted the update-deployment-rolling branch January 28, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. language/en Issues or PRs related to English language size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants