slime
slime copied to clipboard
The compatibility of Lazyload with Istio
Update (2022.04.25)
It has been verified that Istio 1.13.3 has fixed all relevant problems. We currently recommend versions 1.13.3+, 1.11.3 or 1.10.4.
经过验证,Istio 1.13.3已经修复了所有相关问题。目前我们推荐使用的版本为1.10.4, 1.11.3, 以及所有大于等于 1.13.3 的 Istio 版本。
Details at Lazyload - The compatibility of Lazyload with Istio
Update (2023.11.09)
经过验证. 在istio 1.14.0 1.15.0 1.16.0 1.17.0 1.18.0 1.19.0
Slime 相关组件正常运行
兼容性问题: https://github.com/slime-io/slime/issues/465
lazyload: 低版本的envoy不支持通过enviroment添加headers
需要在部署时指定 addEnvHeaderViaLua: true
,使用lua插件代替enviroment方式
apiVersion: config.netease.com/v1alpha1
kind: SlimeBoot
metadata:
name: lazyload
namespace: mesh-operator
spec:
image:
pullPolicy: Always
repository: docker.io/slimeio/slime-lazyload
tag: v0.8.2
namespace: mesh-operator
istioNamespace: istio-system
module:
- name: lazyload
kind: lazyload
enable: true
general:
autoPort: true
autoFence: true
defaultFence: true
wormholePort: # replace to your application service ports, and extend the list in case of multi ports
- "9080"
globalSidecarMode: cluster # the mode of global-sidecar
metricSourceType: accesslog # indicate the metric source
addEnvHeaderViaLua: true # here !!!