remove extra args for gen-eastwest-gateway.sh (#14803)

* remove extra gen-eastwest flags from markdown

* remove extra gen-eastwest args from snips
This commit is contained in:
Steven Landow 2024-03-28 13:06:02 -07:00 committed by GitHub
parent 523307b567
commit 821ad268ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 24 additions and 24 deletions

View File

@ -803,7 +803,7 @@ $ export SECOND_CLUSTER_NAME=<your second remote cluster name>
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${REMOTE_CLUSTER_NAME}" --network network1 > eastwest-gateway-1.yaml
--network network1 > eastwest-gateway-1.yaml
$ istioctl manifest generate -f eastwest-gateway-1.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_REMOTE_CLUSTER}" -f -
@ -811,7 +811,7 @@ $ export SECOND_CLUSTER_NAME=<your second remote cluster name>
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${SECOND_CLUSTER_NAME}" --network network2 > eastwest-gateway-2.yaml
--network network2 > eastwest-gateway-2.yaml
$ istioctl manifest generate -f eastwest-gateway-2.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_SECOND_CLUSTER}" -f -

View File

@ -496,7 +496,7 @@ istioctl create-remote-secret \
snip_setup_eastwest_gateways_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster "${REMOTE_CLUSTER_NAME}" --network network1 > eastwest-gateway-1.yaml
--network network1 > eastwest-gateway-1.yaml
istioctl manifest generate -f eastwest-gateway-1.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_REMOTE_CLUSTER}" -f -
@ -504,7 +504,7 @@ istioctl manifest generate -f eastwest-gateway-1.yaml \
snip_setup_eastwest_gateways_2() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster "${SECOND_CLUSTER_NAME}" --network network2 > eastwest-gateway-2.yaml
--network network2 > eastwest-gateway-2.yaml
istioctl manifest generate -f eastwest-gateway-2.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_SECOND_CLUSTER}" -f -

View File

@ -73,7 +73,7 @@ available.
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}
@ -142,7 +142,7 @@ to east-west traffic.
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
{{< /text >}}

View File

@ -45,7 +45,7 @@ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKIN
snip_install_the_eastwest_gateway_in_cluster1_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
}
@ -88,7 +88,7 @@ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKIN
snip_install_the_eastwest_gateway_in_cluster2_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
}

View File

@ -80,7 +80,7 @@ available.
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}

View File

@ -40,7 +40,7 @@ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKIN
snip_install_the_eastwest_gateway_in_cluster1_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
}

View File

@ -83,7 +83,7 @@ available.
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}
@ -217,7 +217,7 @@ to east-west traffic and expose user services.
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
{{< /text >}}

View File

@ -45,7 +45,7 @@ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKIN
snip_install_the_eastwest_gateway_in_cluster1_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
}
@ -110,7 +110,7 @@ istioctl create-remote-secret \
snip_install_the_eastwest_gateway_in_cluster2_1() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
}

View File

@ -135,7 +135,7 @@ Install Istio and expose the control plane on cluster so that your virtual machi
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${CLUSTER}" --network "${CLUSTER_NETWORK}" | \
--network "${CLUSTER_NETWORK}" | \
istioctl install -y -f -
{{< /text >}}

View File

@ -75,7 +75,7 @@ samples/multicluster/gen-eastwest-gateway.sh --single-cluster | istioctl install
snip_install_the_istio_control_plane_5() {
samples/multicluster/gen-eastwest-gateway.sh \
--mesh mesh1 --cluster "${CLUSTER}" --network "${CLUSTER_NETWORK}" | \
--network "${CLUSTER_NETWORK}" | \
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f -
}

View File

@ -781,7 +781,7 @@ $ export SECOND_CLUSTER_NAME=<您的第二个从集群名称>
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${REMOTE_CLUSTER_NAME}" --network network1 > eastwest-gateway-1.yaml
--network network1 > eastwest-gateway-1.yaml
$ istioctl manifest generate -f eastwest-gateway-1.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_REMOTE_CLUSTER}" -f -
@ -789,7 +789,7 @@ $ export SECOND_CLUSTER_NAME=<您的第二个从集群名称>
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${SECOND_CLUSTER_NAME}" --network network2 > eastwest-gateway-2.yaml
--network network2 > eastwest-gateway-2.yaml
$ istioctl manifest generate -f eastwest-gateway-2.yaml \
--set values.global.istioNamespace=external-istiod | \
kubectl apply --context="${CTX_SECOND_CLUSTER}" -f -

View File

@ -70,7 +70,7 @@ $ istioctl install --context="${CTX_CLUSTER1}" -f cluster1.yaml
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}
@ -137,7 +137,7 @@ $ istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
{{< /text >}}

View File

@ -75,7 +75,7 @@ $ istioctl install --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}

View File

@ -78,7 +78,7 @@ $ istioctl install --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster1 --network network1 | \
--network network1 | \
istioctl --context="${CTX_CLUSTER1}" install -y -f -
{{< /text >}}
@ -208,7 +208,7 @@ $ istioctl create-remote-secret \
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster cluster2 --network network2 | \
--network network2 | \
istioctl --context="${CTX_CLUSTER2}" install -y -f -
{{< /text >}}

View File

@ -134,7 +134,7 @@ test: yes
{{< text bash >}}
$ @samples/multicluster/gen-eastwest-gateway.sh@ \
--mesh mesh1 --cluster "${CLUSTER}" --network "${CLUSTER_NETWORK}" | \
--network "${CLUSTER_NETWORK}" | \
istioctl install -y -f -
{{< /text >}}