mirror of https://github.com/istio/istio.io.git
Some cleanup for kubernetes setup. (#1313)
* Some cleanup for kubernetes setup. 1) `kubectl get svc -n istio-system` should also include new services, such as `istio-egressgateway` etc. 2) `kubectl get pods -n istio-system` should incldue new pods. 3) Updated uninstall part. * Remove mixer job pod.
This commit is contained in:
parent
29841bde55
commit
b67ef7af51
|
@ -276,14 +276,15 @@ install the [sidecar injector webhook]({{home}}/docs/setup/kubernetes/sidecar-in
|
|||
|
||||
```command
|
||||
$ kubectl get svc -n istio-system
|
||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||
istio-citadel ClusterIP 10.35.253.23 <none> 8060/TCP,9093/TCP 47m
|
||||
istio-ingress LoadBalancer 10.35.245.4 35.203.191.37 80:32765/TCP,443:32304/TCP 47m
|
||||
istio-pilot ClusterIP 10.35.255.168 <none> 15003/TCP,15005/TCP,15007/TCP,15010/TCP,15011/TCP,8080/TCP,9093/TCP 47m
|
||||
istio-policy ClusterIP 10.35.247.90 <none> 9091/TCP,15004/TCP,9093/TCP 47m
|
||||
istio-statsd-prom-bridge ClusterIP 10.35.243.13 <none> 9102/TCP,9125/UDP 47m
|
||||
istio-telemetry ClusterIP 10.35.248.71 <none> 9091/TCP,15004/TCP,9093/TCP,42422/TCP 47m
|
||||
prometheus ClusterIP 10.35.255.10 <none> 9090/TCP 47m
|
||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||
istio-citadel ClusterIP 30.0.0.119 <none> 8060/TCP,9093/TCP 7h
|
||||
istio-egressgateway ClusterIP 30.0.0.11 <none> 80/TCP,443/TCP 7h
|
||||
istio-ingressgateway LoadBalancer 30.0.0.39 9.111.255.245 80:31380/TCP,443:31390/TCP,31400:31400/TCP 7h
|
||||
istio-pilot ClusterIP 30.0.0.136 <none> 15003/TCP,15005/TCP,15007/TCP,15010/TCP,15011/TCP,8080/TCP,9093/TCP 7h
|
||||
istio-policy ClusterIP 30.0.0.242 <none> 9091/TCP,15004/TCP,9093/TCP 7h
|
||||
istio-statsd-prom-bridge ClusterIP 30.0.0.111 <none> 9102/TCP,9125/UDP 7h
|
||||
istio-telemetry ClusterIP 30.0.0.246 <none> 9091/TCP,15004/TCP,9093/TCP,42422/TCP 7h
|
||||
prometheus ClusterIP 30.0.0.253 <none> 9090/TCP 7h
|
||||
```
|
||||
|
||||
> If your cluster is running in an environment that does not support an external load balancer
|
||||
|
@ -296,13 +297,15 @@ and, optionally, `istio-sidecar-injector-*`.
|
|||
|
||||
```command
|
||||
$ kubectl get pods -n istio-system
|
||||
istio-citadel-b454d647d-92jrv 1/1 Running 0 46m
|
||||
istio-ingress-768b9fb68b-jdxfk 1/1 Running 0 46m
|
||||
istio-pilot-b87b8c56b-kggmk 2/2 Running 0 46m
|
||||
istio-policy-58f9bfc796-8vlq4 2/2 Running 0 46m
|
||||
istio-statsd-prom-bridge-6dbb7dcc7f-gzlq7 1/1 Running 0 46m
|
||||
istio-telemetry-55b8c8b44f-fwb69 2/2 Running 0 46m
|
||||
prometheus-586d95b8d9-grk6j 1/1 Running 0 46m
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
istio-citadel-dcb7955f6-vdcjk 1/1 Running 0 11h
|
||||
istio-egressgateway-56b7758b44-l5fm5 1/1 Running 0 11h
|
||||
istio-ingressgateway-56cfddbd5b-xbdcx 1/1 Running 0 11h
|
||||
istio-pilot-cbd6bfd97-wgw9b 2/2 Running 0 11h
|
||||
istio-policy-699fbb45cf-bc44r 2/2 Running 0 11h
|
||||
istio-statsd-prom-bridge-949999c4c-nws5j 1/1 Running 0 11h
|
||||
istio-telemetry-55b675d8c-kfvvj 2/2 Running 0 11h
|
||||
prometheus-86cb6dd77c-5j48h 1/1 Running 0 11h
|
||||
```
|
||||
|
||||
## Deploy your application
|
||||
|
@ -331,31 +334,19 @@ $ kubectl create -f <(istioctl kube-inject -f <your-app-spec>.yaml)
|
|||
|
||||
## Uninstalling
|
||||
|
||||
* Uninstall Istio sidecar injector:
|
||||
|
||||
If you installed Istio with sidecar injector enabled, uninstall it:
|
||||
|
||||
```command
|
||||
$ kubectl delete -f install/kubernetes/istio-sidecar-injector-with-ca-bundle.yaml
|
||||
```
|
||||
|
||||
* Uninstall Istio core components. For the {{site.data.istio.version}} release, the uninstall
|
||||
deletes the RBAC permissions, the `istio-system` namespace, and hierarchically all resources under it.
|
||||
It is safe to ignore errors for non-existent resources because they may have been deleted hierarchically.
|
||||
|
||||
a) If you installed Istio with mutual TLS authentication disabled:
|
||||
a) If you installed Istio with `istio-demo.yaml`:
|
||||
|
||||
```command
|
||||
$ kubectl delete -f install/kubernetes/istio.yaml
|
||||
$ kubectl delete -f install/kubernetes/istio-demo.yaml
|
||||
```
|
||||
|
||||
_**OR**_
|
||||
|
||||
b) If you installed Istio with mutual TLS authentication enabled:
|
||||
|
||||
```command
|
||||
$ kubectl delete -f install/kubernetes/istio-auth.yaml
|
||||
```
|
||||
b) : [Uninstall Istio with helm]({{home}}/docs/setup/kubernetes/helm-install.html#uninstall-istio).
|
||||
|
||||
## What's next
|
||||
|
||||
|
|
Loading…
Reference in New Issue