【问题标题】:istio version on gke and upgrading itgke 上的 istio 版本和升级
【发布时间】:2020-05-13 06:03:44
【问题描述】:

我想尝试使用这个演示应用程序在 gke 上部署 WASM 扩展 https://github.com/GoogleCloudPlatform/microservices-demo

意识到 GKE 还不支持 istio 1.5.x https://cloud.google.com/istio/docs/istio-on-gke/versions

所以我只是尝试 $> istioctl upgrade --force 并在此处收到“安装完成”消息 https://gist.github.com/taegyunkim/dc00a34934968bd6adf13fb2b5ec1ff9 然后按照建议重新启动 pod

为了验证更新,我运行了$> istioctl version 并得到了这个:

client version: 1.5.2
citadel version: 1.4.6-gke.0
galley version: 1.4.6-gke.0
ingressgateway version: 1.4.6-gke.0
pilot version: 1.4.6-gke.0
policy version: 1.4.6-gke.0
sidecar-injector version: 1.4.6-gke.0
telemetry version: 1.4.6-gke.0
pilot version: 1.5.2
data plane version: 1.4.6-gke.0 (18 proxies)

它看起来没有更新。有没有办法正确地做到这一点?

【问题讨论】:

    标签: google-kubernetes-engine istio envoyproxy


    【解决方案1】:
    1. 移除旧的 istio 版本
    2. istioctl manifest apply [这将安装默认配置文件]
    3. 如果需要演示配置文件,则 istioctl manifest apply --set profile=demo

    【讨论】:

      【解决方案2】:

      目前无法安装Istio版本1.5.XGCP Cloud Console如下图:

      最新版本是1.4.6-gke.0,如下所述:Cloud.google.com: Istio: Versions

      有一个功能请求支持Istio 1.5.X Issuetracker.google.com: Istio 1.5 on GKE


      GKE 集群上安装Istio 1.5.X 的最佳方式是:

      • 确定现有集群是否有无法删除的应用程序:
      • 使用gcloud 获取GKE 集群的凭据。
      • 按照Istio 站点上的文档安装istioctlIstio.io: Install Istioctl
      • 运行命令:istioctl manifest apply

      在这一步之后,命令:$ istioctl version应该输出:

      client version: 1.5.4
      control plane version: 1.5.4
      data plane version: 1.5.4 (2 proxies)
      

      如果您对此有任何疑问,请告诉我。

      【讨论】:

      猜你喜欢
      • 2020-08-09
      • 1970-01-01
      • 2021-09-07
      • 2020-09-15
      • 1970-01-01
      • 1970-01-01
      • 2021-01-14
      • 2020-01-28
      • 2016-06-30
      相关资源
      最近更新 更多