istio安装
# curl -L https://istio.io/downloadIstio | sh -
# export PATH="$PATH:/root/istio-1.14.1/bin"
# istioctl x precheck
# istioctl install --set profile=demo -y
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Egress gateways installed
✔ Installation complete
# kubectl label namespace default istio-injection=enabled
namespace/default labeled
# kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
istio-egressgateway-575d8bd99b-wjw8h 1/1 Running 0 63s
istio-ingressgateway-6668f9548d-mf2f6 1/1 Running 0 63s
istiod-8495d444bb-n5ksb 1/1 Running 0 80s
# kubectl get pods -n istio-system -o wide
# kubectl get svc -n istio-system
[root@slave istio-1.14.1]# istioctl x uninstall --purge
✔ Uninstall complete