Istio

Istio安装

2019-11-20  本文已影响0人  王勇1024

安装iostioctl

下载安装文件

# 下载安装文件
$ curl -L https://git.io/getLatestIstio | sh -

配置环境变量

export PATH=$PWD/bin:$PATH

安装istio

通过istioctl安装

$ istioctl manifest apply

所有支持的profile

$ istioctl profile list
Istio configuration profiles:
    default
    demo
    minimal
    remote
    sds

指定其他Profile

$ istioctl manifest apply --set profile=demo

Profile的区别

Profile default demo minimal sds remote
Core components
istio-citadel ✔️ ✔️ ✔️ ✔️
istio-egressgateway ✔️
istio-galley ✔️ ✔️ ✔️
istio-ingressgateway ✔️ ✔️ ✔️
istio-nodeagent ✔️
istio-pilot ✔️ ✔️ ✔️ ✔️
istio-policy ✔️ ✔️ ✔️
istio-sidecar-injector ✔️ ✔️ ✔️ ✔️
istio-telemetry ✔️ ✔️ ✔️
Addons
grafana ✔️
istio-tracing ✔️
kiali ✔️
prometheus ✔️ ✔️ ✔️

查看安装结果

$ kubectl get svc -n istio-system
NAME                     TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                                                                                                      AGE
istio-citadel            ClusterIP      10.101.33.145    <none>        8060/TCP,15014/TCP                                                                                                           29m
istio-galley             ClusterIP      10.97.26.204     <none>        443/TCP,15014/TCP,9901/TCP,15019/TCP                                                                                         29m
istio-ingressgateway     LoadBalancer   10.111.83.99     <pending>     15020:30554/TCP,80:31893/TCP,443:30296/TCP,15029:30773/TCP,15030:30932/TCP,15031:32234/TCP,15032:30081/TCP,15443:32719/TCP   29m
istio-pilot              ClusterIP      10.106.251.11    <none>        15010/TCP,15011/TCP,8080/TCP,15014/TCP                                                                                       29m
istio-policy             ClusterIP      10.104.177.229   <none>        9091/TCP,15004/TCP,15014/TCP                                                                                                 29m
istio-sidecar-injector   ClusterIP      10.111.120.150   <none>        443/TCP                                                                                                                      29m
istio-telemetry          ClusterIP      10.96.86.23      <none>        9091/TCP,15004/TCP,15014/TCP,42422/TCP                                                                                       29m
prometheus               ClusterIP      10.100.235.223   <none>        9090/TCP
上一篇下一篇

猜你喜欢

热点阅读