mirror of https://github.com/istio/istio.io.git
move ambient tests to ambient profile (#15241)
Signed-off-by: Faseela K <faseela.k@est.tech>
This commit is contained in:
parent
631295fd6a
commit
cf4143b18b
|
@ -18,12 +18,19 @@ $ kubectl label namespace default istio.io/dataplane-mode-
|
||||||
$ kubectl label namespace default istio.io/use-waypoint-
|
$ kubectl label namespace default istio.io/use-waypoint-
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
## Remove waypoint proxies and uninstall Istio
|
## Remove waypoint proxies
|
||||||
|
|
||||||
To remove waypoint proxies, installed policies, and uninstall Istio, run the following commands:
|
To remove waypoint proxies, installed policies, and uninstall Istio, run the following commands:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ istioctl x waypoint delete --all
|
$ istioctl x waypoint delete --all
|
||||||
|
{{< /text >}}
|
||||||
|
|
||||||
|
## Uninstall Istio
|
||||||
|
|
||||||
|
To uninstall Istio:
|
||||||
|
|
||||||
|
{{< text syntax=bash snip_id=none >}}
|
||||||
$ istioctl uninstall -y --purge
|
$ istioctl uninstall -y --purge
|
||||||
$ kubectl delete namespace istio-system
|
$ kubectl delete namespace istio-system
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
|
@ -25,10 +25,8 @@ kubectl label namespace default istio.io/dataplane-mode-
|
||||||
kubectl label namespace default istio.io/use-waypoint-
|
kubectl label namespace default istio.io/use-waypoint-
|
||||||
}
|
}
|
||||||
|
|
||||||
snip_remove_waypoint_proxies_and_uninstall_istio_1() {
|
snip_remove_waypoint_proxies_1() {
|
||||||
istioctl x waypoint delete --all
|
istioctl x waypoint delete --all
|
||||||
istioctl uninstall -y --purge
|
|
||||||
kubectl delete namespace istio-system
|
|
||||||
}
|
}
|
||||||
|
|
||||||
snip_remove_the_sample_application_1() {
|
snip_remove_the_sample_application_1() {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# @setup profile=none
|
# @setup profile=ambient
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
@ -27,7 +27,6 @@ source "content/en/docs/ambient/getting-started/enforce-auth-policies/snips.sh"
|
||||||
source "content/en/docs/ambient/getting-started/manage-traffic/snips.sh"
|
source "content/en/docs/ambient/getting-started/manage-traffic/snips.sh"
|
||||||
source "content/en/docs/ambient/getting-started/cleanup/snips.sh"
|
source "content/en/docs/ambient/getting-started/cleanup/snips.sh"
|
||||||
|
|
||||||
snip_install_ambient
|
|
||||||
snip_install_k8s_gateway_api
|
snip_install_k8s_gateway_api
|
||||||
|
|
||||||
_wait_for_deployment istio-system istiod
|
_wait_for_deployment istio-system istiod
|
||||||
|
@ -71,7 +70,7 @@ _verify_lines snip_test_traffic_split "
|
||||||
|
|
||||||
# @cleanup
|
# @cleanup
|
||||||
snip_remove_the_ambient_and_waypoint_labels_1
|
snip_remove_the_ambient_and_waypoint_labels_1
|
||||||
snip_remove_waypoint_proxies_and_uninstall_istio_1
|
snip_remove_waypoint_proxies_1
|
||||||
snip_remove_the_sample_application_1
|
snip_remove_the_sample_application_1
|
||||||
samples/bookinfo/platform/kube/cleanup.sh
|
samples/bookinfo/platform/kube/cleanup.sh
|
||||||
snip_remove_the_kubernetes_gateway_api_crds_1
|
snip_remove_the_kubernetes_gateway_api_crds_1
|
|
@ -15,7 +15,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# @setup profile=none
|
# @setup profile=ambient
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
@ -31,9 +31,6 @@ source "content/en/docs/ambient/getting-started/cleanup/snips.sh"
|
||||||
# Kubernetes Gateway API CRDs are required by waypoint proxy.
|
# Kubernetes Gateway API CRDs are required by waypoint proxy.
|
||||||
snip_install_k8s_gateway_api
|
snip_install_k8s_gateway_api
|
||||||
|
|
||||||
# install istio with ambient profile
|
|
||||||
snip_install_ambient
|
|
||||||
|
|
||||||
_wait_for_deployment istio-system istiod
|
_wait_for_deployment istio-system istiod
|
||||||
_wait_for_daemonset istio-system ztunnel
|
_wait_for_daemonset istio-system ztunnel
|
||||||
_wait_for_daemonset istio-system istio-cni-node
|
_wait_for_daemonset istio-system istio-cni-node
|
||||||
|
@ -91,7 +88,7 @@ _verify_same snip_verify_the_traffic_targeting_the_service_3 "$snip_verify_the_t
|
||||||
# @cleanup
|
# @cleanup
|
||||||
snip_cleanup_1
|
snip_cleanup_1
|
||||||
snip_remove_the_ambient_and_waypoint_labels_1
|
snip_remove_the_ambient_and_waypoint_labels_1
|
||||||
snip_remove_waypoint_proxies_and_uninstall_istio_1
|
snip_remove_waypoint_proxies_1
|
||||||
snip_remove_the_sample_application_1
|
snip_remove_the_sample_application_1
|
||||||
samples/bookinfo/platform/kube/cleanup.sh
|
samples/bookinfo/platform/kube/cleanup.sh
|
||||||
snip_remove_the_kubernetes_gateway_api_crds_1
|
snip_remove_the_kubernetes_gateway_api_crds_1
|
||||||
|
|
Loading…
Reference in New Issue