From 715462753280b5b4b7104b3199d6e4a93379e863 Mon Sep 17 00:00:00 2001 From: Mike Kolesnik Date: Tue, 2 Dec 2025 18:22:20 +0200 Subject: [PATCH] fix(docs): Restore lost content from migration (#1418) This commit fixes substantial content changes that were incorrectly introduced during the markdown to AsciiDoc migration in commit e8232064e38018c7b2b093787f87e3acf0b5b9ef. The fixes restore missing content and correct broken links while preserving all changes made after the migration commit. Changes in docs/README.adoc: - Fix broken internal link: changed guidelines.md to guidelines.adoc Changes in docs/deployment-models/multicluster.adoc: Primary-Remote - Single-Network section: - Restore missing 'externalIstiod: true' in Istio resource on cluster1 - Restore missing step 2: Create east-west gateway on cluster1 - Restore missing step 3: Expose istiod on cluster1 - Fix remotePilotAddress: use istio-eastwestgateway ClusterIP instead of istiod LoadBalancer IP - Restore missing istiodRemote.injectionPath configuration - Restore missing step 5: Set control plane cluster annotation - Fix remote secret name: change from 'cluster2' to 'remote' - Restore missing kind-specific instructions for REMOTE_CONTAINER_IP - Fix external links: restore primary-remote/ URLs (removed _single-network) - Fix verification steps: restore single curl commands (removed loops) - Fix cleanup order to match original - Fix wait command format to match original (inline with apply) Primary-Remote - Multi-Network section: - Remove incorrectly added network label command - Fix step title to match original All fixes preserve later changes (e.g., version updates from commit d2cbd963) and only revert unwanted changes from the migration commit. Refs: e8232064e38018c7b2b093787f87e3acf0b5b9ef Fixes: https://github.com/istio-ecosystem/sail-operator/issues/1373 Signed-off-by: Mike Kolesnik Co-authored-by: Claude Sonnet 4.5 --- docs/README.adoc | 2 +- docs/deployment-models/multicluster.adoc | 97 +++++++++++++----------- 2 files changed, 55 insertions(+), 44 deletions(-) diff --git a/docs/README.adoc b/docs/README.adoc index a7ca3003d..c69dbbba6 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -7,7 +7,7 @@ link:../[Return to Project Root] -*Note*: To add new topics to this documentation, please follow the guidelines in the link:../../docs/guidelines/guidelines.md[guidelines] doc. +*Note*: To add new topics to this documentation, please follow the guidelines in the link:../../docs/guidelines/guidelines.adoc[guidelines] doc. == Table of Contents diff --git a/docs/deployment-models/multicluster.adoc b/docs/deployment-models/multicluster.adoc index f3f9775fe..ffc48f35d 100644 --- a/docs/deployment-models/multicluster.adoc +++ b/docs/deployment-models/multicluster.adoc @@ -518,9 +518,9 @@ kubectl delete ns sample --context="${CTX_CLUSTER2}" === Primary-Remote - Single-Network -These instructions install a https://istio.io/latest/docs/setup/install/multicluster/primary-remote_single-network/[primary-remote/single-network] Istio deployment using the Sail Operator and Sail CRDs. **Before you begin**, ensure you complete the <>. +These instructions install a https://istio.io/latest/docs/setup/install/multicluster/primary-remote/[primary-remote] Istio deployment using the Sail Operator and Sail CRDs. **Before you begin**, ensure you complete the <>. -These installation instructions are adapted from: https://istio.io/latest/docs/setup/install/multicluster/primary-remote_single-network/. +These installation instructions are adapted from: https://istio.io/latest/docs/setup/install/multicluster/primary-remote/. In this setup there is a Primary cluster (`cluster1`) and a Remote cluster (`cluster2`) which are on a single shared network. @@ -541,16 +541,27 @@ spec: multiCluster: clusterName: cluster1 network: network1 + externalIstiod: true EOF +kubectl wait --context "${CTX_CLUSTER1}" --for=jsonpath='{.status.revisions.ready}'=1 istios/default --timeout=3m ---- -. Wait for the control plane to become ready. +. Create east-west gateway on `cluster1`. ++ +// TODO: Find a nicer way to deploy the actual service as ClusterIP, instead of patching it. + ---- -kubectl wait --context "${CTX_CLUSTER1}" --for=condition=Ready istios/default --timeout=3m +kubectl apply --context "${CTX_CLUSTER1}" -f https://raw.githubusercontent.com/istio-ecosystem/sail-operator/main/docs/deployment-models/resources/east-west-gateway-net1.yaml +kubectl --context "${CTX_CLUSTER1}" patch service istio-eastwestgateway -n istio-system -p '{"spec":{"type":"ClusterIP"}}' ---- -. Create an `Istio` resource on `cluster2` with the `remote` profile. +. Expose istiod on `cluster1`. ++ +---- +kubectl apply --context "${CTX_CLUSTER1}" -f https://raw.githubusercontent.com/istio-ecosystem/sail-operator/main/docs/deployment-models/resources/expose-istiod.yaml +---- + +. Create an `Istio` on `cluster2` with the `remote` profile. + ---- kubectl apply --context "${CTX_CLUSTER2}" -f - <