FLOWERS_WAN

导航

istio 安装

1.运行脚本,下载最新的安装包,但是发现无法下载,直接使用迅雷下载。

curl -L https://istio.io/downloadIstio | sh -

2.解压安装包

tar -zxvf istio-1.15.2-linux-amd64.tar.gz
3. 进入解压后的目录

cd istio-1.15.2

4.将istio命令添加到系统变量中,可以在任意目录执行。

export PATH=$PWD/bin:$PATH

5. 安装演示样例

[root@k8s-master01 istio-1.15.2]# istioctl install --set profile=demo -y
✔ Istio core installed                                                                                                               
✔ Istiod installed                                                                                                                   
✔ Ingress gateways installed                                                                                                         
✔ Egress gateways installed                                                                                                          
✔ Installation complete

6. 查看其他样例的命令。

[root@k8s-master01 istio-1.15.2]# istioctl profile list
Istio configuration profiles:
    default
    demo
    empty
    external
    minimal
    openshift
    preview

7. 打标签

[root@k8s-master01 istio-1.15.2]# kubectl label namespace default istio-injection=enabled
namespace/default labeled

拉取镜像过程中报错,

 docker pull docker.io/istio/examples-bookinfo-details-v1:1.17.0
Error response from daemon: error parsing HTTP 408 response body: invalid character '<' looking for beginning of value: "<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"

#临时修改:   ifconfig ens32 mtu 900

posted on 2022-10-20 15:22  FLOWERS_WAN  阅读(135)  评论(0)    收藏  举报