Skip to content

Conversation

@marcleblanc2
Copy link
Contributor

@marcleblanc2 marcleblanc2 commented Oct 16, 2025

Checklist

This change should be invisible, except for customers using the Envoy patch for gitserver, so it's worth mentioning in release notes, where do you recommend I mention this?

Test plan

Developed and tested with a customer, on their self-hosted instance with Istio

Tested on a k3s instance:

  • Deployed the 6.9.0 release
  • Upgraded the Helm install with this branch marc-test-fix-gitserver-ports-for-istio, which is the same code changes, but on top of the v6.9.0 release commit instead of main, to test for any issues for existing customers as they upgrade
  • Configured a code host
  • Cloned some repos
  • Ran some searches
  • Checked pod logs
  • No errors / issues

Tested on an AWS EKS instance

@marcleblanc2
Copy link
Contributor Author

marcleblanc2 commented Oct 17, 2025

Hey team, this change should be invisible, but it's probably worth mentioning in release notes, where do you recommend I mention this?

Do you figure any additional testing is needed?

@marcleblanc2 marcleblanc2 marked this pull request as ready for review October 17, 2025 11:14
@marcleblanc2 marcleblanc2 requested a review from a team October 17, 2025 11:14
@DaedalusG
Copy link
Contributor

DaedalusG commented Oct 17, 2025

I think the best place we have for notes about changes specific to deployment types are these old pages: https://sourcegraph.com/docs/admin/updates/kubernetes#notes-2

Pretty good testing imo, although I wouldn't mind if @keegancsmith laid eyes upon this change

@marcleblanc2 marcleblanc2 added the backport 6.9.x Backport to 6.9.x release branch label Oct 17, 2025
Copy link
Member

@keegancsmith keegancsmith left a comment

Choose a reason for hiding this comment

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

Please announce it somewhere. It could actually break if someone, but I think in practice that is so tiny that we should rather fix it like you are doing. Thanks!

@marcleblanc2
Copy link
Contributor Author

It could actually break if someone, but I think in practice that is so tiny that we should rather fix it like you are doing.
@keegancsmith I think I'm missing something after "if someone," am I?

@keegancsmith
Copy link
Member

keegancsmith commented Oct 21, 2025 via email

@marcleblanc2
Copy link
Contributor Author

@marcleblanc2 if someone targetted the names / configured istio (or something else) based on the names? I think that is possible but unlikely / easy to fix for the admin.

Noted, thank you! Deep Search provided similar feedback, not likely, but some self-hosted customers may require manual intervention as part of their upgrade:

  • Hardcoded references to port names (e.g., http instead of grpc)
  • Custom NetworkPolicies referencing specific port names
  • Custom monitoring that filters by port name

I'll include these in an update to https://sourcegraph.com/docs/admin/updates/kubernetes#notes-2

@marcleblanc2 marcleblanc2 changed the title Fixing port names for Istio service mesh auto config Fix Istio service mesh auto config after migration to gRPC Nov 7, 2025
@marcleblanc2 marcleblanc2 removed the backport 6.9.x Backport to 6.9.x release branch label Nov 8, 2025
@marcleblanc2 marcleblanc2 deleted the marc-fix-gitserver-ports-for-istio branch November 8, 2025 21:55
@marcleblanc2 marcleblanc2 restored the marc-fix-gitserver-ports-for-istio branch November 8, 2025 22:09
@marcleblanc2 marcleblanc2 reopened this Nov 8, 2025
@marcleblanc2 marcleblanc2 changed the title Fix Istio service mesh auto config after migration to gRPC Fix service mesh auto config after migration to gRPC Nov 8, 2025
@marcleblanc2
Copy link
Contributor Author

marcleblanc2 commented Nov 8, 2025

Hey @DaedalusG, I've applied the same fixes to the remaining services which the customer found broken, and to match, and have made some minor formatting adjustments for readability. I've re-requested your review in case you'd like to.

@marcleblanc2
Copy link
Contributor Author

PR for doc update here: sourcegraph/docs#1407

@marcleblanc2 marcleblanc2 merged commit 0074a7e into main Nov 11, 2025
12 checks passed
@marcleblanc2 marcleblanc2 deleted the marc-fix-gitserver-ports-for-istio branch November 11, 2025 11:16
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.

4 participants