Skip to content

Conversation

dylantangredi-jakala
Copy link
Collaborator

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

List of Changes

  • upgraded helm chart to v8.0.2
  • added rolling update strategy (maxUnavailable, maxSurge)

NOTE: upgraded in

  • DEV -> OK
  • UAT -> TODO
  • PROD -> TODO

Motivation and Context

This upgrade was required to address an issue with the rollout strategy and the autoscaler behaviour, where the pods would scale down to 1 during deploy instead of keeping the same number of pods and doing +1 -1 to avoid traffic congestion.
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?

❯   kubectl get scaledobject pagopanodoverifykoaux-microservice-chart -n nodo -o jsonpath='{.metadata.labels.helm\.sh/blueprint-version}' && echo
7.5.0
❯   kubectl get scaledobject pagopanodoverifykoaux-microservice-chart -n nodo -o jsonpath='{.metadata.annotations.helm\.sh/hook}' && echo " (has hooks)" || echo " (no hooks or doesn't exist)"
post-install ,post-upgrade (has hooks)
❯   kubectl delete scaledobject pagopanodoverifykoaux-microservice-chart -n nodo
scaledobject.keda.sh "pagopanodoverifykoaux-microservice-chart" deleted from nodo namespace
❯ helm upgrade --namespace nodo \
      --install --values ./values-dev.yaml \
      --set microservice-chart.azure.workloadIdentityClientId=919f4844-xxxxx \
      --set microservice-chart.podAnnotations.force-rollout="rollout-$(date +%s)" \
      --wait --timeout 15m0s \
      pagopanodoverifykoaux .
Release "pagopanodoverifykoaux" has been upgraded. Happy Helming!
NAME: pagopanodoverifykoaux
LAST DEPLOYED: Fri Oct 17 16:15:28 2025
NAMESPACE: nodo
STATUS: deployed
REVISION: 3
TEST SUITE: None
❯   kubectl get scaledobject pagopanodoverifykoaux-microservice-chart -n nodo -o jsonpath='{.metadata}' | jq '{labels: .labels, annotations: .annotations}'
{
  "labels": {
    "app.kubernetes.io/instance": "pagopanodoverifykoaux",
    "app.kubernetes.io/managed-by": "Helm",
    "app.kubernetes.io/name": "microservice-chart",
    "app.kubernetes.io/version": "0.3.0",
    "azure.workload.identity/use": "true",
    "canaryDelivery": "false",
    "helm.sh/blueprint-version": "8.0.2",
    "helm.sh/chart": "microservice-chart-0.3.0",
    "scaledobject.keda.sh/name": "pagopanodoverifykoaux-microservice-chart"
  },
  "annotations": {
    "meta.helm.sh/release-name": "pagopanodoverifykoaux",
    "meta.helm.sh/release-namespace": "nodo"
  }
}

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

Copy link

Comment this PR with update_code to format the code. Consider to use pre-commit to format the code.

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.

1 participant