Add an ambient mode section to the Istio page

What does this MR do?

Adds an "Ambient mode" section to the Istio page. It currently mentions ambient once and gives no guidance.

The stock chart works under ambient. The trouble starts when a reader adds a waypoint proxy for L7 policy, because three things then fail without an error:

  • A waypoint that handles only Service traffic never sees Gitaly and Praefect traffic, because both Services are headless and clients connect to pod addresses. The section says to create it with --for all.
  • An L7 AuthorizationPolicy that targets the Praefect or Gitaly Service does not deny. It has to target the waypoint Gateway. Until then the policy is a security no-op.
  • gRPC connections opened before the waypoint existed keep the direct path, so the waypoint is bypassed until the pods restart.

The section also extends the existing port name note to the waypoint case, where the grpc-praefect name of earlier chart versions is harmless, and points to Istio's platform flag for GKE. A short Troubleshooting entry tells readers to retry large transfers that fail just after a rollout; the cause is not isolated. Istio's waypoint page covers the --for values and says waypoint selection follows the destination type the traffic was addressed to.

It adds 25 lines to doc/advanced/istio.md and rewrites the two-line port name note; no other file changes. Vale reports the word "waypoint" as a spelling warning, so it may need an entry in the spelling exception list.

An AI coding assistant wrote this change. The assistant also checked each claim against Istio's waypoint and platform documentation, and ran markdownlint and Vale on the changed file. It ran the behaviors below on Istio 1.32.0; each item names the cluster it ran on.

flowchart LR
  C["Webservice, Sidekiq,<br/>GitLab Shell"] --> Z1["ztunnel"]
  Z1 -->|"HBONE"| W["waypoint Gateway<br/>(--for all)"]
  W --> Z2["ztunnel"]
  Z2 --> G["Gitaly or Praefect pod<br/>(headless Service)"]
  A["AuthorizationPolicy<br/>targetRefs: Gateway waypoint"] -.->|"enforced here"| W
  S["AuthorizationPolicy<br/>targetRefs: Service"] -.->|"does not deny"| G
Test evidence

Istio 1.32.0 ambient with STRICT mTLS. The GKE cluster was installed with the GKE platform profile.

  • Clone and push over HTTP and SSH pass through the waypoint (--for all) on both clusters. A clone and push of over 500 MiB passed on the k3s cluster, and 600 to 840 MiB clones and a 120 MiB push passed on the GKE cluster.
  • An L7 DENY policy on the waypoint Gateway denied a pod on another ServiceAccount (grpc-status: 7, RBAC: access denied) on both clusters. With the waypoint deleted and the policy left in place, the same call reached the server and the policy status read TargetNotFound.
  • On the GKE cluster, a policy targeting the Praefect Service did not deny, with the waypoint scope set to service and to all. That run does not separate the bypass from the wrong target, so the section rests on Istio's destination-type rule for the bypass.
  • On the k3s cluster, the first large transfer after adding a waypoint showed bytes on the direct path and none at the waypoint. Restarting the clients fixed it. Removing a waypoint was not tested.
  • grpc-praefect and tcp-praefect both passed HTTP and SSH clone and push, with and without a waypoint, on both clusters.
  • On the GKE cluster, 5 of 9 large transfers failed in the three minutes after a rollout or waypoint change. Later, 6 back-to-back clones and 4 clones after 75 seconds idle all passed. The cause is not isolated.

The default --for service scope ran only in the GKE policy-target run above. The bypass itself, traffic to the headless Services skipping a Service-scoped waypoint, was not tested; the section rests on Istio's waypoint page for it.

Follows !5468 (merged), which added the page.

Author's checklist

If you are only adding documentation, do not add any of the following labels:

  • ~"feature"
  • ~"frontend"
  • ~"backend"
  • ~"bug"
  • ~"database"

These labels cause the MR to be added to code verification QA issues.

Review checklist

Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.

  • As soon as you begin reviewing, select Start a review on your first comment so the MR shows Reviewer started review.
  • If the content requires it, ensure the information is reviewed by a subject matter expert.
  • Technical writer review items:
    • Ensure docs metadata is present and up-to-date.
    • Ensure the appropriate labels are added to this MR.
    • If relevant to this MR, ensure content topic type principles are in use, including:
      • The headings should be something you'd do a Google search for. Instead of Default behavior, say something like Default behavior when you close an issue.
      • The headings (other than the page title) should be active. Instead of Configuring GDK, say something like Configure GDK.
      • Any task steps should be written as a numbered list.
      • If the content still needs to be edited for topic types, you can create a follow-up issue with the docs-technical-debt label.
  • Review by assigned maintainer, who can always request/require the above reviews. Maintainer's review can occur before or after a technical writer review.
  • Ensure a release milestone is set.

Merge request reports

Loading
Loading