Skip to content

Improve history archive handling in the core chart#155

Merged
jacekn merged 1 commit intostellar:mainfrom
jacekn:archive
Mar 6, 2026
Merged

Improve history archive handling in the core chart#155
jacekn merged 1 commit intostellar:mainfrom
jacekn:archive

Conversation

@jacekn
Copy link
Copy Markdown
Contributor

@jacekn jacekn commented Mar 6, 2026

This PR improves how we handle history archives

  • switch service to headless and enable publishing of NotReadyNodes. This is needed because history archive should be served even if the node is catching up
  • expose port 80 (history archive) if archive is enabled
  • add ingressClassName to the history Ingress
  • add new "router" Deployment and Service. This is needed for exposing individual archives.
  • as a drive-by fix I also removed duplicated port definition in the init container as it was causing errors

This PR improves how we handle history archives
* switch service to headless and enable publishing of NotReadyNodes.
  This is needed because history archive should be served even if
  the node is catching up
* expose port 80 (history archive) if archive is enabled
* add ingressClassName to the history Ingress
* add new "router" Deployment and Service. This is needed for exposing
  individual archives.
* as a drive-by fix I also removed duplicated port definition
  in the init container as it was causing errors
Copilot AI review requested due to automatic review settings March 6, 2026 15:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the core Helm chart’s history archive exposure so archives remain reachable while nodes are catching up, and adds a routing layer to expose per-pod archives.

Changes:

  • Converts the core Service to a headless Service with publishNotReadyAddresses: true and conditionally exposes port 80 when historyProxy is enabled.
  • Adds a new “history router” nginx Deployment/Service (and ConfigMap) plus optional ingressClassName support on the history Ingress.
  • Bumps the chart version and adjusts values.yaml to include router replica count and ingressClassName example.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
charts/core/values.yaml Adds historyProxy.replicaCount and documents ingressClassName for the history ingress.
charts/core/templates/history-proxy.yaml Introduces the history-router nginx ConfigMap + Deployment, updates Service selectors, and adds ingressClassName support.
charts/core/templates/core-sts.yaml Makes the core Service headless with publishNotReadyAddresses, and conditionally exposes port 80 for history archive serving.
charts/core/Chart.yaml Bumps chart version to reflect the chart behavior change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jacekn jacekn merged commit 832ef43 into stellar:main Mar 6, 2026
6 checks passed
@jacekn jacekn deleted the archive branch March 6, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants