Replace external profile with new remote profile (#11811)

This commit is contained in:
Frank Budinsky 2022-09-12 15:07:53 -04:00 committed by GitHub
parent 0f38047c55
commit 89d57d499e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View File

@ -35,7 +35,7 @@ for your specific needs. The following built-in configuration profiles are curre
1. **minimal**: same as the default profile, but only the control plane components are installed. 1. **minimal**: same as the default profile, but only the control plane components are installed.
This allows you to configure the control plane and data plane components (e.g., gateways) using [separate profiles](/docs/setup/additional-setup/gateway/#deploying-a-gateway). This allows you to configure the control plane and data plane components (e.g., gateways) using [separate profiles](/docs/setup/additional-setup/gateway/#deploying-a-gateway).
1. **external**: used for configuring a {{< gloss >}}remote cluster{{< /gloss >}} that is managed by an 1. **remote**: used for configuring a {{< gloss >}}remote cluster{{< /gloss >}} that is managed by an
{{< gloss >}}external control plane{{< /gloss >}} or by a control plane in a {{< gloss >}}primary cluster{{< /gloss >}} {{< gloss >}}external control plane{{< /gloss >}} or by a control plane in a {{< gloss >}}primary cluster{{< /gloss >}}
of a [multicluster mesh](/docs/ops/deployment/deployment-models/#multiple-clusters). of a [multicluster mesh](/docs/ops/deployment/deployment-models/#multiple-clusters).
@ -51,7 +51,7 @@ For more information, refer to the [setup instructions](/docs/setup/platform-set
The components marked as &#x2714; are installed within each profile: The components marked as &#x2714; are installed within each profile:
| | default | demo | minimal | external | empty | preview | | | default | demo | minimal | remote | empty | preview |
| --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- |
| Core components | | | | | | | | | Core components | | | | | | | |
| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`istio-egressgateway` | | &#x2714; | | | | | | | | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`istio-egressgateway` | | &#x2714; | | | | | | |

View File

@ -174,7 +174,7 @@ and installing the sidecar injector webhook configuration on the remote cluster
#### Set up the remote config cluster #### Set up the remote config cluster
1. Use the `external` profile to configure the remote cluster's Istio installation. This installs an injection 1. Use the `remote` profile to configure the remote cluster's Istio installation. This installs an injection
webhook that uses the external control plane's injector, instead of a locally deployed one. Because this cluster webhook that uses the external control plane's injector, instead of a locally deployed one. Because this cluster
will also serve as the config cluster, the Istio CRDs and other resources that will be needed on the remote cluster will also serve as the config cluster, the Istio CRDs and other resources that will be needed on the remote cluster
are also installed by setting `global.configCluster` and `pilot.configMap` to `true`: are also installed by setting `global.configCluster` and `pilot.configMap` to `true`:
@ -186,7 +186,7 @@ and installing the sidecar injector webhook configuration on the remote cluster
metadata: metadata:
namespace: external-istiod namespace: external-istiod
spec: spec:
profile: external profile: remote
values: values:
global: global:
istioNamespace: external-istiod istioNamespace: external-istiod
@ -217,7 +217,7 @@ and installing the sidecar injector webhook configuration on the remote cluster
-e "s|injectionURL: https://${EXTERNAL_ISTIOD_ADDR}:15017|injectionPath: |" \ -e "s|injectionURL: https://${EXTERNAL_ISTIOD_ADDR}:15017|injectionPath: |" \
-e "/istioNamespace:/a\\ -e "/istioNamespace:/a\\
remotePilotAddress: ${EXTERNAL_ISTIOD_ADDR}" \ remotePilotAddress: ${EXTERNAL_ISTIOD_ADDR}" \
-e '/base/,+1d' \ -e '/base:/,+1d' \
remote-config-cluster.yaml; rm remote-config-cluster.yaml.bk remote-config-cluster.yaml; rm remote-config-cluster.yaml.bk
{{< /text >}} {{< /text >}}
@ -663,7 +663,7 @@ $ export SECOND_CLUSTER_NAME=<your second remote cluster name>
metadata: metadata:
namespace: external-istiod namespace: external-istiod
spec: spec:
profile: external profile: remote
values: values:
global: global:
istioNamespace: external-istiod istioNamespace: external-istiod

View File

@ -80,7 +80,7 @@ kind: IstioOperator
metadata: metadata:
namespace: external-istiod namespace: external-istiod
spec: spec:
profile: external profile: remote
values: values:
global: global:
istioNamespace: external-istiod istioNamespace: external-istiod
@ -99,7 +99,7 @@ sed -i'.bk' \
-e "s|injectionURL: https://${EXTERNAL_ISTIOD_ADDR}:15017|injectionPath: |" \ -e "s|injectionURL: https://${EXTERNAL_ISTIOD_ADDR}:15017|injectionPath: |" \
-e "/istioNamespace:/a\\ -e "/istioNamespace:/a\\
remotePilotAddress: ${EXTERNAL_ISTIOD_ADDR}" \ remotePilotAddress: ${EXTERNAL_ISTIOD_ADDR}" \
-e '/base/,+1d' \ -e '/base:/,+1d' \
remote-config-cluster.yaml; rm remote-config-cluster.yaml.bk remote-config-cluster.yaml; rm remote-config-cluster.yaml.bk
} }
@ -431,7 +431,7 @@ kind: IstioOperator
metadata: metadata:
namespace: external-istiod namespace: external-istiod
spec: spec:
profile: external profile: remote
values: values:
global: global:
istioNamespace: external-istiod istioNamespace: external-istiod

View File

@ -131,7 +131,7 @@ $ cat <<EOF > cluster2.yaml
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
profile: external profile: remote
values: values:
istiodRemote: istiodRemote:
injectionPath: /inject/cluster/cluster2/net/network1 injectionPath: /inject/cluster/cluster2/net/network1

View File

@ -75,7 +75,7 @@ cat <<EOF > cluster2.yaml
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
profile: external profile: remote
values: values:
istiodRemote: istiodRemote:
injectionPath: /inject/cluster/cluster2/net/network1 injectionPath: /inject/cluster/cluster2/net/network1

View File

@ -162,7 +162,7 @@ $ cat <<EOF > cluster2.yaml
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
profile: external profile: remote
values: values:
istiodRemote: istiodRemote:
injectionPath: /inject/cluster/cluster2/net/network2 injectionPath: /inject/cluster/cluster2/net/network2

View File

@ -89,7 +89,7 @@ cat <<EOF > cluster2.yaml
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
profile: external profile: remote
values: values:
istiodRemote: istiodRemote:
injectionPath: /inject/cluster/cluster2/net/network2 injectionPath: /inject/cluster/cluster2/net/network2