mirror of https://github.com/istio/istio.io.git
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:
parent
523307b567
commit
821ad268ba
|
@ -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 -
|
||||
|
|
|
@ -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 -
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 -
|
||||
}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 -
|
||||
}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 -
|
||||
}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 -
|
||||
}
|
||||
|
||||
|
|
|
@ -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 -
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
|
@ -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 >}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue