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
|
||||
components:
|
||||
ingressGateways:
|
||||
- name: ingressgateway
|
||||
- name: istio-ingressgateway
|
||||
namespace: istio-ingress
|
||||
enabled: true
|
||||
label:
|
||||
|
@ -92,7 +92,7 @@ Install using standard `helm` commands:
|
|||
|
||||
{{< text bash >}}
|
||||
$ kubectl create namespace istio-ingress
|
||||
$ helm install istio-ingress istio/gateway -n istio-ingress
|
||||
$ helm install istio-ingressgateway istio/gateway -n istio-ingress
|
||||
{{< /text >}}
|
||||
|
||||
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
|
||||
components:
|
||||
ingressGateways:
|
||||
- name: ingressgateway
|
||||
- name: istio-ingressgateway
|
||||
namespace: istio-ingress
|
||||
enabled: true
|
||||
label:
|
||||
|
@ -50,7 +50,7 @@ istioctl install -f ingress.yaml
|
|||
|
||||
snip_deploying_a_gateway_3() {
|
||||
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
|
||||
|
|
|
@ -34,11 +34,11 @@ $snip_deploying_a_gateway_1
|
|||
EOF
|
||||
|
||||
echo y | snip_deploying_a_gateway_2
|
||||
_wait_for_deployment istio-ingress ingressgateway
|
||||
_wait_for_deployment istio-ingress istio-ingressgateway
|
||||
|
||||
rebuild
|
||||
_rewrite_helm_repo snip_deploying_a_gateway_3
|
||||
_wait_for_deployment istio-ingress istio-ingress
|
||||
_wait_for_deployment istio-ingress istio-ingressgateway
|
||||
|
||||
rebuild
|
||||
# shellcheck disable=SC2154
|
||||
|
|
Loading…
Reference in New Issue