mirror of https://github.com/istio/istio.io.git
add verify traffic step for VM doc (#8517)
* add verify traffic step for VM doc * close tabset
This commit is contained in:
parent
e61b0518a3
commit
f32c94d078
|
@ -68,7 +68,7 @@ Install Istio and expose the control plane so that your virtual machine can acce
|
||||||
{{< /warning >}}
|
{{< /warning >}}
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ istioctl install --set values.global.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_AUTOREGISTRATION=true
|
$ istioctl install --set values.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_AUTOREGISTRATION=true
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
|
@ -131,7 +131,7 @@ Install Istio and expose the control plane so that your virtual machine can acce
|
||||||
1. Push the `WorkloadGroup` to the cluster:
|
1. Push the `WorkloadGroup` to the cluster:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl --namespace ${VM_NAMESPACE} apply -f workloadgroup.yaml`
|
$ kubectl --namespace ${VM_NAMESPACE} apply -f workloadgroup.yaml
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
|
@ -272,6 +272,26 @@ Run the following commands on the virtual machine you want to add to the Istio m
|
||||||
$ 2020-08-21T01:32:20.695595Z info sds resource:default pushed key/cert pair to proxy
|
$ 2020-08-21T01:32:20.695595Z info sds resource:default pushed key/cert pair to proxy
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
|
1. Create a Namespace to deploy a Pod-based Service:
|
||||||
|
|
||||||
|
{{< text bash >}}
|
||||||
|
$ kubectl create namespace sample
|
||||||
|
$ kubectl label namespace sample istio-injection=enabled
|
||||||
|
{{< /text >}}
|
||||||
|
|
||||||
|
1. Deploy the `HelloWorld` Service:
|
||||||
|
|
||||||
|
{{< text bash >}}
|
||||||
|
$ kubectl apply -f @samples/helloworld/helloworld.yaml@
|
||||||
|
{{< /text >}}
|
||||||
|
|
||||||
|
1. Send requests from your Virtual Machine to the Service:
|
||||||
|
|
||||||
|
{{< text bash >}}
|
||||||
|
$ curl helloworld.sample.svc:5000/hello
|
||||||
|
Hello version: v1, instance: helloworld-v1-578dd69f69-fxwwk
|
||||||
|
{{< /text >}}
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
|
|
||||||
Stop Istio on the virtual machine:
|
Stop Istio on the virtual machine:
|
||||||
|
@ -282,11 +302,27 @@ $ sudo systemctl stop istio
|
||||||
|
|
||||||
Then, remove the Istio-sidecar package:
|
Then, remove the Istio-sidecar package:
|
||||||
|
|
||||||
|
{{< tabset category-name="vm-os" >}}
|
||||||
|
|
||||||
|
{{< tab name="Debian" category-value="debian" >}}
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ sudo dpkg -r istio-sidecar
|
$ sudo dpkg -r istio-sidecar
|
||||||
$ dpkg -s istio-sidecar
|
$ dpkg -s istio-sidecar
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
|
{{< /tab >}}
|
||||||
|
|
||||||
|
{{< tab name="CentOS" category-value="centos" >}}
|
||||||
|
|
||||||
|
{{< text bash >}}
|
||||||
|
$ sudo rpm -e istio-sidecar
|
||||||
|
{{< /text >}}
|
||||||
|
|
||||||
|
{{< /tab >}}
|
||||||
|
|
||||||
|
{{< /tabset >}}
|
||||||
|
|
||||||
To uninstall Istio, run the following command:
|
To uninstall Istio, run the following command:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
|
|
Loading…
Reference in New Issue