我已经安装了istioctl/1.4.8,istioctl无法使用命令(istioctl version -c platform)与我的集群对话
#kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:32:14Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
# kubectl get pods -A | grep -i istio | grep pilot
istio-platform istio-pilot-7c5adrgcd89-wt9k 2/2 Running 4 1d
#istioctl version
2020-06-14T11:26:13.636825Z warn will use `--remote=false` to retrieve version info due to `no Istio pods in namespace "istio-system"`
1.4.8
# istioctl version -c istio-platform
2020-06-14T11:27:59.121013Z warn will use `--remote=false` to retrieve version info due to `no Istio pods in namespace "istio-system"`
1.4.8istio在命名空间中运行: istio-platform
这里的问题可能是什么,有什么提示吗?
发布于 2020-06-14 19:36:41
如果不在istio-system中,则必须提供Istio名称空间
istioctl version -i istio-platform请参阅https://istio.io/latest/docs/reference/commands/istioctl/
https://stackoverflow.com/questions/62371913
复制相似问题