日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

istio安装命令整理

發布時間:2025/1/21 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 istio安装命令整理 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

istio安裝 和 bookinfo部署。

訪問: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}'

master節點上執行:

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 ingressgateway,prometheus

demo:基本所有組件全有。

minimal : pilot

大家安裝時:提前導入鏡像。百度網盤。

開啟sidecar注入

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}')

鏡像地址:

鏈接:https://pan.baidu.com/s/1AuNqLUGz8ozO2tLmfP82hQ 提取碼:rwin 復制這段內容后打開百度網盤手機App,操作更方便哦

總結

以上是生活随笔為你收集整理的istio安装命令整理的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。