您好,登錄后才能下訂單哦!
這篇文章主要介紹了Istio 1.0如何快速安裝到Kubernetes集群,具有一定借鑒價(jià)值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
下載:
$ curl -L https://git.io/getLatestIstio | sh -
或者:
wget https://github.com/istio/istio/releases/download/1.0.0/istio-1.0.0-linux.tar.gz
設(shè)置路徑:
export PATH=$PWD/bin:$PATH
下載鏡像:
docker pull docker.io/istio/proxyv2:1.0.0 docker pull docker.io/istio/proxy_init:1.0.0 docker pull docker.io/istio/sidecar_injector:1.0.0 docker pull docker.io/istio/galley:1.0.0 docker pull docker.io/istio/mixer:1.0.0 docker pull docker.io/istio/pilot:1.0.0 docker pull docker.io/istio/citadel:1.0.0
或者,從Aliytun下載鏡像:
echo "" echo "==========================================================" echo "Pull Istio 1.0.0 Images from aliyuncs.com ......" echo "==========================================================" echo "" echo "docker tag to openthings ..." ## 添加Tag for registry.cn-hangzhou.aliyuncs.com/openthings MY_REGISTRY=registry.cn-hangzhou.aliyuncs.com/openthings echo "" echo "==========================================================" echo "" ## Pull鏡像 echo "" echo "1./istio-proxyv2:1.0.0" docker pull ${MY_REGISTRY}/istio-proxyv2:1.0.0 docker tag ${MY_REGISTRY}/istio-proxyv2:1.0.0 docker.io/istio/proxyv2:1.0.0 echo "" echo "2.istio-proxy_init:1.0.0" docker pull ${MY_REGISTRY}/istio-proxy_init:1.0.0 docker tag ${MY_REGISTRY}/istio-proxy_init:1.0.0 docker.io/istio/proxy_init:1.0.0 echo "" echo "3.istio-sidecar_injector:1.0.0" docker pull ${MY_REGISTRY}/istio-sidecar_injector:1.0.0 docker tag ${MY_REGISTRY}/istio-sidecar_injector:1.0.0 docker.io/istio/sidecar_injector:1.0.0 echo "" echo "4.istio-galley:1.0.0" docker pull ${MY_REGISTRY}/istio-galley:1.0.0 docker tag ${MY_REGISTRY}/istio-galley:1.0.0 docker.io/istio/galley:1.0.0 echo "" echo "5.istio-mixer:1.0.0" docker pull ${MY_REGISTRY}/istio-mixer:1.0.0 docker tag ${MY_REGISTRY}/istio-mixer:1.0.0 docker.io/istio/mixer:1.0.0 echo "" echo "6.istio-pilot:1.0.0" docker pull ${MY_REGISTRY}/istio-pilot:1.0.0 docker tag ${MY_REGISTRY}/istio-pilot:1.0.0 docker.io/istio/pilot:1.0.0 echo "" echo "7.istio/citadel:1.0.0" docker pull ${MY_REGISTRY}/istio-citadel:1.0.0 docker tag ${MY_REGISTRY}/istio-citadel:1.0.0 docker.io/istio/citadel:1.0.0 echo "" echo "Extra=========================================" echo "8.coreos-hyperkube:v1.7.6_coreos.0" docker pull ${MY_REGISTRY}/coreos-hyperkube:v1.7.6_coreos.0 docker tag ${MY_REGISTRY}/coreos-hyperkube:v1.7.6_coreos.0 quay.io/coreos/hyperkube:v1.7.6_coreos.0 echo "" echo "9.prom-prometheus:latest" docker pull ${MY_REGISTRY}/prom-prometheus:latest docker tag ${MY_REGISTRY}/prom-prometheus:latest docker.io/prom/prometheus:latest echo "" echo "10.statsd-exporter:latest" docker pull ${MY_REGISTRY}/statsd-exporter:latest docker tag ${MY_REGISTRY}/statsd-exporter:latest prom/statsd-exporter:latest echo "" echo "==========================================================" echo "Push Istio 1.0.0 Images FINISHED." echo "into registry.cn-hangzhou.aliyuncs.com/openthings, " echo " by openthings@https://my.oschina.net/u/2306127." echo "==========================================================" echo ""
安裝:
helm template install/kubernetes/helm/istio --name istio --namespace istio-system > ./istio.yaml kubectl create namespace istio-system kubectl create -f ./istio.yaml
感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“Istio 1.0如何快速安裝到Kubernetes集群”這篇文章對(duì)大家有幫助,同時(shí)也希望大家多多支持億速云,關(guān)注億速云行業(yè)資訊頻道,更多相關(guān)知識(shí)等著你來學(xué)習(xí)!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。