Skip to content

Conversation

@marcleblanc2
Copy link
Contributor

@marcleblanc2 marcleblanc2 commented Oct 16, 2025

Checklist

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

Test plan

Developed 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

@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!

Comment on lines -24 to -26
- name: unused
port: 10811
targetPort: 10811
Copy link
Member

Choose a reason for hiding this comment

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

yes I think this is safe to remove. If I try to remember the historical context it was some sort of workaround for service discovery in kubernetes before statefulsets existed.

And just for fun, this number comes from me although I see other people added it. "10810" is an old south african programmer joke. When a south african reads it out loud it is "one ou ate one ou". An ou is slang for a guy. So its one guy eating another guy... enjoy your TIL for today.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I love it, thank you for the TIL!

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 6.9.x Backport to 6.9.x release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants