tridentcdc失败,因为它无法使用“--kubeconfig"进行切换
- Views:
- 6
- Visibility:
- Public
- Votes:
- 0
- Category:
- trident-kubernetes<a>2009年575686</a>
- Specialty:
- snapx
- Last Updated:
适用场景
- 低于 23.04的NetApp Astra三端存储
- 使用
--kubeconfig
命令中的切换Kubnetes集群kubectl
问题描述
tridentctl
失败--kubeconfig
并显示错误:
Error: unknown flag: --kubeconfig
tridentctl
没有--kubeconfig
失败并显示错误:
Error: found the Kubernetes CLI, but it exited with error: The connection to the server localhost:8080 was refused - did you specify the right host or port?