mirror of https://github.com/istio/istio.io.git
improve install gateway doc (#11734)
* improve install gateway doc Signed-off-by: hejianpeng <hejianpeng2@huawei.com> * unify istio-ingressgateway deployment name Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
This commit is contained in:
parent
15a3975599
commit
bb84e3baf0
|
@ -64,7 +64,7 @@ spec:
|
||||||
profile: empty # Do not install CRDs or the control plane
|
profile: empty # Do not install CRDs or the control plane
|
||||||
components:
|
components:
|
||||||
ingressGateways:
|
ingressGateways:
|
||||||
- name: ingressgateway
|
- name: istio-ingressgateway
|
||||||
namespace: istio-ingress
|
namespace: istio-ingress
|
||||||
enabled: true
|
enabled: true
|
||||||
label:
|
label:
|
||||||
|
@ -92,7 +92,7 @@ Install using standard `helm` commands:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl create namespace istio-ingress
|
$ kubectl create namespace istio-ingress
|
||||||
$ helm install istio-ingress istio/gateway -n istio-ingress
|
$ helm install istio-ingressgateway istio/gateway -n istio-ingress
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
To see possible supported configuration values, run `helm show values istio/gateway`.
|
To see possible supported configuration values, run `helm show values istio/gateway`.
|
||||||
|
|
|
@ -29,7 +29,7 @@ spec:
|
||||||
profile: empty # Do not install CRDs or the control plane
|
profile: empty # Do not install CRDs or the control plane
|
||||||
components:
|
components:
|
||||||
ingressGateways:
|
ingressGateways:
|
||||||
- name: ingressgateway
|
- name: istio-ingressgateway
|
||||||
namespace: istio-ingress
|
namespace: istio-ingress
|
||||||
enabled: true
|
enabled: true
|
||||||
label:
|
label:
|
||||||
|
@ -50,7 +50,7 @@ istioctl install -f ingress.yaml
|
||||||
|
|
||||||
snip_deploying_a_gateway_3() {
|
snip_deploying_a_gateway_3() {
|
||||||
kubectl create namespace istio-ingress
|
kubectl create namespace istio-ingress
|
||||||
helm install istio-ingress istio/gateway -n istio-ingress
|
helm install istio-ingressgateway istio/gateway -n istio-ingress
|
||||||
}
|
}
|
||||||
|
|
||||||
! read -r -d '' snip_deploying_a_gateway_4 <<\ENDSNIP
|
! read -r -d '' snip_deploying_a_gateway_4 <<\ENDSNIP
|
||||||
|
|
|
@ -34,11 +34,11 @@ $snip_deploying_a_gateway_1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo y | snip_deploying_a_gateway_2
|
echo y | snip_deploying_a_gateway_2
|
||||||
_wait_for_deployment istio-ingress ingressgateway
|
_wait_for_deployment istio-ingress istio-ingressgateway
|
||||||
|
|
||||||
rebuild
|
rebuild
|
||||||
_rewrite_helm_repo snip_deploying_a_gateway_3
|
_rewrite_helm_repo snip_deploying_a_gateway_3
|
||||||
_wait_for_deployment istio-ingress istio-ingress
|
_wait_for_deployment istio-ingress istio-ingressgateway
|
||||||
|
|
||||||
rebuild
|
rebuild
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
|
|
Loading…
Reference in New Issue