From b67ef7af5190111363c264c3c1e1da6bcc85795d Mon Sep 17 00:00:00 2001 From: Guang Ya Liu Date: Sat, 19 May 2018 00:45:47 +0800 Subject: [PATCH] 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. --- _docs/setup/kubernetes/quick-start.md | 51 +++++++++++---------------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/_docs/setup/kubernetes/quick-start.md b/_docs/setup/kubernetes/quick-start.md index 72ecd2c5ec..a8b67eb424 100644 --- a/_docs/setup/kubernetes/quick-start.md +++ b/_docs/setup/kubernetes/quick-start.md @@ -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 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 15003/TCP,15005/TCP,15007/TCP,15010/TCP,15011/TCP,8080/TCP,9093/TCP 47m - istio-policy ClusterIP 10.35.247.90 9091/TCP,15004/TCP,9093/TCP 47m - istio-statsd-prom-bridge ClusterIP 10.35.243.13 9102/TCP,9125/UDP 47m - istio-telemetry ClusterIP 10.35.248.71 9091/TCP,15004/TCP,9093/TCP,42422/TCP 47m - prometheus ClusterIP 10.35.255.10 9090/TCP 47m + NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE + istio-citadel ClusterIP 30.0.0.119 8060/TCP,9093/TCP 7h + istio-egressgateway ClusterIP 30.0.0.11 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 15003/TCP,15005/TCP,15007/TCP,15010/TCP,15011/TCP,8080/TCP,9093/TCP 7h + istio-policy ClusterIP 30.0.0.242 9091/TCP,15004/TCP,9093/TCP 7h + istio-statsd-prom-bridge ClusterIP 30.0.0.111 9102/TCP,9125/UDP 7h + istio-telemetry ClusterIP 30.0.0.246 9091/TCP,15004/TCP,9093/TCP,42422/TCP 7h + prometheus ClusterIP 30.0.0.253 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 .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