Istio 1.8 發佈——用戶至上的選擇

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https://istio.io/latest/news/releases/1.8.x/announcing-1.8/","title":""},"content":[{"type":"text","text":"Istio 1.8","attrs":{}}]},{"type":"text","text":" 是 Istio 在 2020 年發佈的最後一個版本,按照 Istio 社區在","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/blog/2020/tradewinds-2020/","title":""},"content":[{"type":"text","text":"今年初設定的目標","attrs":{}}]},{"type":"text","text":"繼續推進,該版本主要有以下更新:","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"bulletedlist","content":[{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"支持使用 Helm 3 進行安裝和升級","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"正式移除了 Mixer","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"新增了 Istio DNS proxy,透明地攔截應用程序的 DNS 查詢,實現智能應答","attrs":{}}]}],"attrs":{}},{"type":"listitem","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"新增了 ","attrs":{}},{"type":"codeinline","content":[{"type":"text","text":"WorkloadGroup","attrs":{}}],"attrs":{}},{"type":"text","text":" 以簡化對虛擬機的引入","attrs":{}}]}],"attrs":{}}],"attrs":{}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"codeinline","content":[{"type":"text","text":"WorkloadGroup ","attrs":{}}],"attrs":{}},{"type":"text","text":"是一個新的 API 對象,旨在與虛擬機等非 Kubernetes 工作負載一起使用,模仿現有的用於 Kubernetes 工作負載的 sidecar 注入和部署規範模型來引導 Istio 代理。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"安裝與升級","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Istio 從 1.5 版本開始棄用了 Helm,使用 ","attrs":{}},{"type":"codeinline","content":[{"type":"text","text":"istioctl manifest","attrs":{}}],"attrs":{}},{"type":"text","text":" 方式安裝,後來又改成了 ","attrs":{}},{"type":"codeinline","content":[{"type":"text","text":"istioctl install","attrs":{}}],"attrs":{}},{"type":"text","text":",現在又重新迴歸了 Helm,Helm 作爲 Kubernetes 環境下最常用的應用安裝管理組件,此次迴歸也是傾聽用戶聲音,優化安裝體驗的的反應吧,不過 Istio Operator 依然將是 Istio 安裝的最終形式,從 1.8 版本開始 Istio 支持使用 ","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/docs/setup/install/helm/","title":""},"content":[{"type":"text","text":"Helm","attrs":{}}]},{"type":"text","text":" 進行 in-place 升級和 canary 升級。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"增強 Istio 的易用性","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"codeinline","content":[{"type":"text","text":"istioctl","attrs":{}}],"attrs":{}},{"type":"text","text":" 命令行工具新的了 bug reporting 功能(","attrs":{}},{"type":"codeinline","content":[{"type":"text","text":"istioctl bug-report","attrs":{}}],"attrs":{}},{"type":"text","text":"),可以用來收集調試信息和獲取集羣狀態。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https://istio.io/latest/blog/2020/addon-rework/","title":""},"content":[{"type":"text","text":"安裝 add-on","attrs":{}}]},{"type":"text","text":" 的方式變了,在 1.7 中已經不推薦使用 istioctl 來安裝,在 1.8 中直接被移除了,這樣有利於解決 add-on 落後於上游及難以維護的問題。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"正式移除了 Mixer,推薦使用 ","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/blog/2020/wasm-announce/","title":""},"content":[{"type":"text","text":"WebAssembly","attrs":{}}]},{"type":"text","text":" 通過擴展 Envoy 的方式來擴展 Istio,也推薦大家使用 ","attrs":{}},{"type":"link","attrs":{"href":"https://www.getenvoy.io/reference/getenvoyextensiontoolkit_reference/","title":""},"content":[{"type":"text","text":"GetEnvoy Toolkit","attrs":{}}]},{"type":"text","text":" 來進行 Envoy 的擴展開發。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"對虛擬機的支持","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在我","attrs":{}},{"type":"link","attrs":{"href":"https://thenewstack.io/how-to-integrate-virtual-machines-into-istio-service-mesh/","title":""},"content":[{"type":"text","text":"之前的博客","attrs":{}}]},{"type":"text","text":"中談到 Istio 1.7 如何支持虛擬機,在 Istio 1.8 中新增了","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/blog/2020/dns-proxy/","title":""},"content":[{"type":"text","text":"智能 DNS 代理","attrs":{}}]},{"type":"text","text":",它是由 Go 編寫的 Istio sidecar 代理,sidecar 上的 Istio agent 將附帶一個由 Istiod 動態編程的緩存 DNS 代理。來自應用程序的 DNS 查詢會被 pod 或 VM 中的 Istio 代理透明地攔截和服務,該代理會智能地響應 DNS 查詢請求,可以實現虛擬機到服務網格的無縫多集羣訪問。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"新增了 ","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/docs/reference/config/networking/workload-group/","title":""},"content":[{"type":"text","text":"WorkloadGroup","attrs":{}}]},{"type":"text","text":" ,它描述了工作負載實例的集合。提供了一個規範,工作負載實例可以用來引導它們的代理,包括元數據和身份。它只打算與虛擬機等非 Kubernetes 工作負載一起使用,旨在模仿現有的用於 Kubernetes 工作負載的sidecar注入和部署規範模型來引導 Istio 代理。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"在 ","attrs":{}},{"type":"link","attrs":{"href":"https://tetrate.io","title":""},"content":[{"type":"text","text":"Tetrate","attrs":{}}]},{"type":"text","text":",我們在客戶的多集羣部署中廣泛使用這種機制,以使 sidecar 能夠爲暴露在網格中所有集羣的入口網關的主機解析 DNS,並通過 mTLS 訪問。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"總結","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"總而言之,Istio 團隊履行了","attrs":{}},{"type":"link","attrs":{"href":"https://istio.io/latest/blog/2020/tradewinds-2020/","title":""},"content":[{"type":"text","text":"年初的承諾","attrs":{}}]},{"type":"text","text":",自 2018 年發佈 1.1 版本發佈起,保持了固定的發佈節奏,每 3 個月發佈一個版本,在性能、用戶體驗上持續優化,以滿足 brownfiled 應用與 greenfield 應用在 Istio 上的無縫體驗。我們期待 Istio 在 2021 年可以給我們帶來更多驚喜。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"最後,感謝","attrs":{}},{"type":"link","attrs":{"href":"https://github.com/malphi","title":""},"content":[{"type":"text","text":"馬若飛","attrs":{}}]},{"type":"text","text":"對本文的審閱。","attrs":{}}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章