Skip to content

Conversation

dylantangredi-jakala
Copy link
Collaborator

@dylantangredi-jakala dylantangredi-jakala commented Oct 7, 2025

List of Changes

  • added rolling update strategy (maxUnavailable, maxSurge)
  • overridden deployment replicas to match HPA minReplica config

Motivation and Context

This change is required so the pod replicas are set to match the autoscaling config during deploy, to avoid starting the service with 1 pod when there is traffic on the service.
This also ensures zero-downtime deployments by keeping all existing pods running until new versions are healthy and ready, then replacing them one at a time.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link
Contributor

github-actions bot commented Oct 7, 2025

The default action is to increase the PATCH number of SEMVER. Set IGNORE-FOR-RELEASE if you want to skip SEMVER bump. BREAKING-CHANGE and NEW-RELEASE must be run from GH Actions section manually.

Copy link
Contributor

github-actions bot commented Oct 7, 2025

The default action is to increase the PATCH number of SEMVER. Set IGNORE-FOR-RELEASE if you want to skip SEMVER bump. BREAKING-CHANGE and NEW-RELEASE must be run from GH Actions section manually.

Copy link

sonarqubecloud bot commented Oct 7, 2025

Copy link
Contributor

@andrea-deri andrea-deri left a comment

Choose a reason for hiding this comment

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

Great! 🚀

@andrea-deri andrea-deri changed the base branch from main to next-release October 7, 2025 14:37
@andrea-deri andrea-deri merged commit 2405f0c into next-release Oct 7, 2025
1 check passed
@andrea-deri andrea-deri deleted the PIDM-504-upd-deploy-config branch October 7, 2025 14:39
@andrea-deri andrea-deri changed the title feat: [PIDM-504] update deploy config feat: [PIDM-504] Update deploy configuration Oct 8, 2025
@andrea-deri andrea-deri changed the title feat: [PIDM-504] Update deploy configuration fix: [PIDM-504] Update deploy configuration Oct 8, 2025
andrea-deri added a commit that referenced this pull request Oct 8, 2025
…148)

 - #145 
 - #146
 - #147

Co-authored-by: Dylan Tangredi <[email protected]>
Co-authored-by: pagopa-github-bot <[email protected]>
Co-authored-by: Federico Ruzzier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants