美文网首页
deploy istio 1.4 for production

deploy istio 1.4 for production

作者: akka9 | 来源:发表于2019-11-20 10:23 被阅读0次

istio 1.4 recommend istioctl for installation, maybe later version use istio-operator.

version=1.4.0
wget -c https://github.com/istio/istio/releases/download/$version/istio-$version-linux.tar.gz
tar zxfv istio-$version-linux.tar.gz
cp istio-$version/bin/istioctl  /usr/local/bin/

istioctl manifest generate --set values.gateways.istio-ingressgateway.type=ClusterIP > istio-install-$version.yaml

# necessary for the Great China LAN
sed -i -e 's?docker.io?dockerhub.azk8s.cn?g' -e 's?quay.io?quay.azk8s.cn?g' -e 's?k8s.gcr.io?gcr.azk8s.cn/google-containers?g' istio*$version*.yaml

kubectl apply -f istio-install-$version.yaml

# check 
kubectl get svc -n istio-system
kubectl get pods -n istio-system
istioctl version

相关文章

网友评论

      本文标题:deploy istio 1.4 for production

      本文链接:https://www.haomeiwen.com/subject/nownictx.html