问题
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