千家信息网

Istio 1.0如何快速安装到Kubernetes集群

发表于:2025-02-06 作者:千家信息网编辑
千家信息网最后更新 2025年02月06日,这篇文章主要介绍了Istio 1.0如何快速安装到Kubernetes集群,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。Istio 1
千家信息网最后更新 2025年02月06日Istio 1.0如何快速安装到Kubernetes集群

这篇文章主要介绍了Istio 1.0如何快速安装到Kubernetes集群,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。

Istio 1.0快速安装到Kubernetes集群

下载:

$ 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

设置路径:

 export PATH=$PWD/bin:$PATH

下载镜像:

docker pull docker.io/istio/proxyv2:1.0.0docker pull docker.io/istio/proxy_init:1.0.0docker pull docker.io/istio/sidecar_injector:1.0.0docker pull docker.io/istio/galley:1.0.0docker pull docker.io/istio/mixer:1.0.0docker pull docker.io/istio/pilot:1.0.0docker 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/openthingsMY_REGISTRY=registry.cn-hangzhou.aliyuncs.com/openthingsecho ""echo "=========================================================="echo ""## Pull镜像echo ""echo "1./istio-proxyv2:1.0.0"docker pull ${MY_REGISTRY}/istio-proxyv2:1.0.0docker 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.0docker tag ${MY_REGISTRY}/istio-proxy_init:1.0.0  docker.io/istio/proxy_init:1.0.0echo ""echo "3.istio-sidecar_injector:1.0.0"docker pull ${MY_REGISTRY}/istio-sidecar_injector:1.0.0docker tag ${MY_REGISTRY}/istio-sidecar_injector:1.0.0 docker.io/istio/sidecar_injector:1.0.0echo ""echo "4.istio-galley:1.0.0"docker pull ${MY_REGISTRY}/istio-galley:1.0.0docker tag ${MY_REGISTRY}/istio-galley:1.0.0 docker.io/istio/galley:1.0.0echo ""echo "5.istio-mixer:1.0.0"docker pull ${MY_REGISTRY}/istio-mixer:1.0.0docker tag ${MY_REGISTRY}/istio-mixer:1.0.0 docker.io/istio/mixer:1.0.0echo ""echo "6.istio-pilot:1.0.0"docker pull ${MY_REGISTRY}/istio-pilot:1.0.0docker tag ${MY_REGISTRY}/istio-pilot:1.0.0 docker.io/istio/pilot:1.0.0echo ""echo "7.istio/citadel:1.0.0"docker pull ${MY_REGISTRY}/istio-citadel:1.0.0docker 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.0docker tag ${MY_REGISTRY}/coreos-hyperkube:v1.7.6_coreos.0 quay.io/coreos/hyperkube:v1.7.6_coreos.0echo ""echo "9.prom-prometheus:latest"docker pull ${MY_REGISTRY}/prom-prometheus:latestdocker tag ${MY_REGISTRY}/prom-prometheus:latest docker.io/prom/prometheus:latestecho ""echo "10.statsd-exporter:latest"docker pull ${MY_REGISTRY}/statsd-exporter:latestdocker tag ${MY_REGISTRY}/statsd-exporter:latest prom/statsd-exporter:latestecho ""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.yamlkubectl create namespace istio-systemkubectl create -f ./istio.yaml

感谢你能够认真阅读完这篇文章,希望小编分享的"Istio 1.0如何快速安装到Kubernetes集群"这篇文章对大家有帮助,同时也希望大家多多支持,关注行业资讯频道,更多相关知识等着你来学习!

0