Name the Praefect Service port tcp-praefect for Istio sidecars
What does this MR do?
Names the Praefect Service port tcp-praefect, not grpc-praefect, as Gitaly's has been since #4028 (closed). The TLS port keeps tls-.
Istio treats a grpc- port as HTTP/2. Workhorse (gitaly.go) and GitLab Shell (gitaly.go) dial through Gitaly's client, which writes a multiplexing handshake instead.
On a caproni cluster under Istio 1.28.0 sidecars with STRICT mTLS, HTTP clone returns 503 and Workhorse logs error reading server preface: EOF. With this change every hop passes.
Upgrading is safe: the port number is unchanged, nothing in the chart or Operator selects it by name, and the Gitaly (#4028 (closed)) and KAS (#4908 (closed)) ports were renamed the same way.
flowchart LR
G["Workhorse or GitLab Shell<br/>(Go client)"] -->|"magic bytes, then a multiplexed session"| E["Istio sidecar"]
E -->|"port tcp-praefect: bytes pass through"| P["Praefect"]
E -.->|"port grpc-praefect: HTTP/2 expected, connection closes"| X["error reading server preface: EOF"]An AI coding assistant wrote this change. The assistant also checked each claim against the Gitaly, Workhorse and GitLab Shell sources linked above, ran RuboCop, helm lint and the Praefect specs on a laptop, and ran the clone and push hops on the caproni cluster.
Related issues
Closes #5269 (closed)
Related to gitlab-org/gitlab#634072
Author checklist
For general guidance, please follow our Contributing guide.
Required
For anything in this list which will not be completed, please provide a reason in the MR discussion.
- Merge Request Title and Description are up to date, accurate, and descriptive.
- MR targeting the appropriate branch.
- MR has a green pipeline.
- Documentation created/updated.
- Tests added/updated.
- Have you validated that your change works end-to-end on a real cluster deployment?
- Described above.
- Equivalent MR/issue for omnibus-gitlab opened.
- When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.
Reviewers checklist
- As soon as you begin reviewing, select Start a review on your first comment so the MR shows Reviewer started review.
- MR has a green pipeline on https://gitlab.com/gitlab-org/charts/gitlab.
- Consider downstream impact to the Operator, as per evaluating impact from changes to GitLab chart.
- No Operator hit for
grpc-praefect.
- No Operator hit for