访问:http://localhost:31357/productpage
istio 安装
版本号 改成 16.
修改ip
199.232.28.133 raw.githubusercontent.com
curl -sL https://github.com/istio/istio/releases | grep -o 'releases/[0-9]*.[0-9]*.[0-9]*/' | sort --version-sort | tail -1 | awk -F'/' '{ print $2}'
curl -L https://istio.io/downloadIstio | sh -
下载安装包,解压。
Downloading istio-1.5.1 from https://github.com/istio/istio/releases/download/1.5.1/istio-1.5.1-linux-amd64.tar.gz ...
Istio has been successfully downloaded into the istio-1.5.1 folder on your system.
Next Steps:
See https://istio.io/latest/docs/setup/install/ to add Istio to your Kubernetes cluster.
To configure the istioctl client tool for your workstation,
add the /cpf/istio-1.5.1/bin directory to your environment path variable with:
export PATH="$PATH:/cpf/istio-1.5.1/bin"
Begin the Istio pre-installation check by running:
istioctl x precheck
Need more information? Visit https://istio.io/latest/docs/setup/install/
[root@istio-master cpf]#
istio安装:
istioctl manifest apply --set profile=demo
default: pilot ingrelinux系统ssgakubernetes怎么读teway,prometheus
demo:基本所有组件全有。
minikubernetes怎么读mal : pilot
大家安装时:提前导入镜像。百度网盘。
kubectl label namespace default istio-injection=enabled
给default命名空间开启 sidecar的 自动注入。
deploy应用的时候,会同时部署一个sidecar。container里:应用 和 istio-proxy.
开启外部访问:
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
镜像github中文官网网页地址:
链接:https://pan.baidu.com/s/1AuNqLUGz8ozO2tLmfP82hQ
提取码:rwin
复制这段内容后打开百度网盘手机App,操作更方便哦
发表评论