"--kubeconfig"で切り替えることができないため、tridentctlが失敗する
- Views:
- 13
- Visibility:
- Public
- Votes:
- 0
- Category:
- trident-kubernetes<a>2009575686</a>
- Specialty:
- snapx
- Last Updated:
環境
- NetApp Astra Trident 23.04未満
--kubeconfig
inkubectl
コマンドを使用してKubernetesクラスタを切り替えます
問題
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?