istio-sidecar-injector kube configmap 中的缺失值



我遇到了与此处回答的相同的错误 Istio 手动边车注入给出错误

我无法手动将 istio sidecar 注入到现有部署中。确保版本匹配的解决方案对我没有帮助。

# kubectl apply -f <(istioctl kube-inject -f apps_deployment.yml --log_output_level debug) --v=4
I0827 11:17:38.661208   98950 decoder.go:224] decoding stream as YAML
Error: missing configuration map key "values" in "istio-sidecar-injector"
F0827 11:17:38.728899   98950 helpers.go:119] error: error parsing /dev/fd/63: error converting YAML to JSON: yaml: line 4: mapping values are not allowed in this context
# kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.10", GitCommit:"7a578febe155a7366767abce40d8a16795a96371", GitTreeState:"clean", BuildDate:"2019-05-01T04:14:38Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.10-docker-1", GitCommit:"3ffbabe840b101d7c84263431c8a18b27785929a", GitTreeState:"clean", BuildDate:"2019-05-10T17:53:06Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}
# istioctl version
client version: 1.2.4
ingressgateway version: 94746ccd404a8e056483dd02e4e478097b950da6-dirty
ingressgateway version: 94746ccd404a8e056483dd02e4e478097b950da6-dirty
pilot version: 1.2.4
pilot version: 1.2.4

预期成果: 我希望它将 istio sidecar 注入我的 deployment.yml 配置中。

Istio 1.2.4 尚未根据文档针对 kubernetes 1.11 进行测试。

参考:

https://istio.io/docs/setup/kubernetes/https://web.archive.org/web/20190827164324/https://istio.io/docs/setup/kubernetes/

相关内容

  • 没有找到相关文章

最新更新