当前位置: 首页 > 工具软件 > MOSN > 使用案例 >

minikube + istio + mosn

傅阳
2023-12-01

华为云 2C4G,有免费的1个月

你好,Minikube | Kubernetes

minikube start --force --driver=docker --kubernetes-version v1.14.0

MOSN with Istio | mosn | Katacoda

curl -L https://istio.io/downloadIstio | sh - 
cd ist.. 
export PATH=$PATH:$(pwd)/bin 
istioctl manifest apply --set .values.global.proxy.image="mosnio/proxyv2:1.5.2-mosn" --set meshConfig.defaultConfig.binaryPath="/usr/local/bin/mosn"
yum install nginx 、systemctl start nginx

vim /etc/nginx/nginx.conf、nginx -t 、nginx -s reload

location  /productpage {
proxy_pass http://192.168.49.2:30224/productpage;
proxy_http_version 1.1;
proxy_set_header Connection "";
}

location  /static {
proxy_pass http://192.168.49.2:30224/static;
proxy_http_version 1.1;
proxy_set_header Connection "";
}

location  /kiali {
proxy_pass http://localhost:20001/kiali;
proxy_http_version 1.1;
proxy_set_header Connection "";
}

 类似资料: