Istio manual sidecar injection gives an error

青春壹個敷衍的年華 提交于 2019-12-23 02:29:17

问题


I am trying to manually inject istio sidecar into an existing deployment according to the instructions here:

https://istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection

I am getting the following error, however:

$ istioctl kube-inject -f k8s/prod/deployment.yaml
Error: missing configuration map key "values" in "istio-sidecar-injector"

This error occurs to me even why I try different kinds with different yaml files. Is this a bug or am I doing something wrong? How can I add "values" to the configuration map?


回答1:


Check the version of your istioctl binary (istioctl version) versus istio installed on your cluster: if they differ, you may get such error message (or similar).



来源:https://stackoverflow.com/questions/57488845/istio-manual-sidecar-injection-gives-an-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!