Istio手动边车注入出现错误 [英] Istio manual sidecar injection gives an error

查看:106
本文介绍了Istio手动边车注入出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试根据此处的说明将istio sidecar手动注入到现有部署中:

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"

即使我尝试使用不同的Yaml文件尝试不同的类型,也会出现此错误.这是一个错误还是我做错了什么?如何在配置图中添加值"?

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?

推荐答案

检查集群中安装的istioctl二进制文件(istioctl version)与istio的版本:如果它们不同,则可能会收到这样的错误消息(或类似).

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).

这篇关于Istio手动边车注入出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆