Skip to content

Conversation

@pasanw
Copy link
Contributor

@pasanw pasanw commented Jan 27, 2026

picks #4378

Description

Release Note

Updated Elasticsearch NodeSet name generation to prevent unnecessary recreations of the Elasticsearch StatefulSet.

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

The upgrade of k8s.io/apimachinery to v0.34.3 changed how k8s objects serialize, causing the same PVC template to produce different hashes across tigera-operator versions. Since NodeSet names are derived from PVC template hashes, this triggered unnecessary StatefulSet recreation during Calico Enterprise upgrades, leading to slow upgrades (dynamic provisioning) or stalled upgrades (static provisioning with no available PVs). This change replaces hash-based NodeSet naming with logic that retains the existing name when the PVC template matches LogStorage configuration, and uses a random string when a new name is needed.
@pasanw pasanw merged commit 6b0ba82 into tigera:release-v1.41 Jan 27, 2026
3 checks passed
@pasanw pasanw deleted the ev-6345-v1.41 branch January 27, 2026 23:02
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