diff --git a/content/en/docs/ambient/getting-started/gtwapi_test-disabled.sh b/content/en/docs/ambient/getting-started/gtwapi_test.sh similarity index 98% rename from content/en/docs/ambient/getting-started/gtwapi_test-disabled.sh rename to content/en/docs/ambient/getting-started/gtwapi_test.sh index 5aa87908f6..2e20381880 100644 --- a/content/en/docs/ambient/getting-started/gtwapi_test-disabled.sh +++ b/content/en/docs/ambient/getting-started/gtwapi_test.sh @@ -28,4 +28,3 @@ snip_uninstall_2 snip_uninstall_3 samples/bookinfo/platform/kube/cleanup.sh snip_uninstall_4 -snip_uninstall_5 diff --git a/content/en/docs/ambient/getting-started/index.md b/content/en/docs/ambient/getting-started/index.md index d0de4a09e3..7d327e7896 100644 --- a/content/en/docs/ambient/getting-started/index.md +++ b/content/en/docs/ambient/getting-started/index.md @@ -116,13 +116,13 @@ four components (including {{< gloss "ztunnel" >}}ztunnel{{< /gloss >}}) have be {{< text bash >}} $ kubectl get pods,daemonset -n istio-system -NAME READY STATUS RESTARTS AGE +NAME READY STATUS RESTARTS AGE pod/istio-cni-node-zq94l 1/1 Running 0 2m7s pod/istio-ingressgateway-56b9cb5485-ksnvc 1/1 Running 0 2m7s pod/istiod-56d848857c-mhr5w 1/1 Running 0 2m9s pod/ztunnel-srrnm 1/1 Running 0 2m5s -NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE +NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m16s daemonset.apps/ztunnel 1 1 1 1 1 kubernetes.io/os=linux 2m10s {{< /text >}} @@ -133,13 +133,13 @@ daemonset.apps/ztunnel 1 1 1 1 1 {{< text bash >}} $ kubectl get pods,daemonset -n istio-system -NAME READY STATUS RESTARTS AGE -pod/istio-cni-node-zq94l 1/1 Running 0 2m15s -pod/istiod-56d848857c-mhr5w 1/1 Running 0 2m23s -pod/ztunnel-srrnm 1/1 Running 0 2m9s +NAME READY STATUS RESTARTS AGE +pod/istio-cni-node-btbjf 1/1 Running 0 2m18s +pod/istiod-55b74b77bd-xggqf 1/1 Running 0 2m27s +pod/ztunnel-5m27h 1/1 Running 0 2m10s -NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE -daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m16s +NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE +daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m18s daemonset.apps/ztunnel 1 1 1 1 1 kubernetes.io/os=linux 2m10s {{< /text >}} @@ -249,6 +249,7 @@ by simply labeling the namespace: {{< text bash >}} $ kubectl label namespace default istio.io/dataplane-mode=ambient +namespace/default labeled {{< /text >}} Congratulations! You have successfully added all pods in the default namespace @@ -437,6 +438,7 @@ The label to instruct Istio to automatically include applications in the `defaul {{< text bash >}} $ kubectl label namespace default istio.io/dataplane-mode- +$ kubectl label namespace default istio.io/use-waypoint- {{< /text >}} To remove waypoint proxies, installed policies, and uninstall Istio: diff --git a/content/en/docs/ambient/getting-started/snips.sh b/content/en/docs/ambient/getting-started/snips.sh index 2b6392f8ba..c91ea04cb6 100644 --- a/content/en/docs/ambient/getting-started/snips.sh +++ b/content/en/docs/ambient/getting-started/snips.sh @@ -38,13 +38,13 @@ kubectl get pods,daemonset -n istio-system } ! IFS=$'\n' read -r -d '' snip_download_and_install_7_out <<\ENDSNIP -NAME READY STATUS RESTARTS AGE +NAME READY STATUS RESTARTS AGE pod/istio-cni-node-zq94l 1/1 Running 0 2m7s pod/istio-ingressgateway-56b9cb5485-ksnvc 1/1 Running 0 2m7s pod/istiod-56d848857c-mhr5w 1/1 Running 0 2m9s pod/ztunnel-srrnm 1/1 Running 0 2m5s -NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE +NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m16s daemonset.apps/ztunnel 1 1 1 1 1 kubernetes.io/os=linux 2m10s ENDSNIP @@ -54,13 +54,13 @@ kubectl get pods,daemonset -n istio-system } ! IFS=$'\n' read -r -d '' snip_download_and_install_8_out <<\ENDSNIP -NAME READY STATUS RESTARTS AGE -pod/istio-cni-node-zq94l 1/1 Running 0 2m15s -pod/istiod-56d848857c-mhr5w 1/1 Running 0 2m23s -pod/ztunnel-srrnm 1/1 Running 0 2m9s +NAME READY STATUS RESTARTS AGE +pod/istio-cni-node-btbjf 1/1 Running 0 2m18s +pod/istiod-55b74b77bd-xggqf 1/1 Running 0 2m27s +pod/ztunnel-5m27h 1/1 Running 0 2m10s -NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE -daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m16s +NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE +daemonset.apps/istio-cni-node 1 1 1 1 1 kubernetes.io/os=linux 2m18s daemonset.apps/ztunnel 1 1 1 1 1 kubernetes.io/os=linux 2m10s ENDSNIP @@ -125,6 +125,10 @@ snip_adding_your_application_to_the_ambient_mesh_1() { kubectl label namespace default istio.io/dataplane-mode=ambient } +! IFS=$'\n' read -r -d '' snip_adding_your_application_to_the_ambient_mesh_1_out <<\ENDSNIP +namespace/default labeled +ENDSNIP + snip_adding_your_application_to_the_ambient_mesh_2() { kubectl exec deploy/sleep -- curl -s "http://$GATEWAY_HOST/productpage" | grep -o "