FAT[0000] 無效配置:未提供配置 (FATA[0000] invalid configuration: no configuration has been provided)


問題描述

FAT[0000] 無效配置:未提供配置 (FATA[0000] invalid configuration: no configuration has been provided)

我在 Windows 筆記本電腦上運行我的 minikube 集群並嘗試設置 argo 工作流和 argo‑cli,我已經安裝了 argo‑workflow 但是當我嘗試執行 argo 命令時,它給了我一個錯誤:

FATA[0000] 無效配置:沒有提供配置

但是我看到 ‑‑kubeconfig 標誌可以用於在 argo 中配置此設置,我嘗試使用以下命令執行 ‑ ‑kubeconfig

argo version ‑‑kubeconfig "/mnt/c/Users/madur/.kube/config"

我仍然收到以下錯誤

FATA[0000] invalid configuration: [unable to read client‑cert /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\profiles\minikube\client.crt for minikube due to open /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\profiles\minikube\client.crt: no such file or directory, unable to read client‑key /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\profiles\minikube\client.key for minikube due to open /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\profiles\minikube\client.key: no such file or directory, unable to read certificate‑authority /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\ca.crt for minikube due to open /mnt/c/Users/madur/.kube/C:\Users\madur\.minikube\ca.crt: no such file or directory]

我的 kubeconfig 文件位於 /mnt/c/Users/madur/.kube/config 因為我在使用 WSL windows。

誰能幫我解決這個問題?

謝謝。


參考解法

方法 1:

When using WSL, you should use the Linux filesystem for files.

(by Madura Dissanayakekazanaki)

參考文件

  1. FATA[0000] invalid configuration: no configuration has been provided (CC BY‑SA 2.5/3.0/4.0)

#windows-subsystem-for-linux #argoproj #kubeconfig #argocd






相關問題

Windows 10 中“Bash on Ubuntu on Windows”的 .bashrc 位置 (Location of .bashrc for "Bash on Ubuntu on Windows" in Windows 10)

無法在 WSL Ubuntu 18.04 上安裝 R Shiny Server (Cannot install R Shiny Server on WSL Ubuntu 18.04)

從 Windows 10 的 wsl 將捲設置為 docker 容器 (Set volume to docker container from wsl from windows 10)

npm 錯誤!使用 wsl 將 npm 模塊安裝到 Windows 10 時出現錯誤 -13 (npm ERR! errno -13 when Installing npm module to windows 10 with wsl)

如何使用 WSL 訪問 Odoo 12 (How to access Odoo 12 using WSL)

用 recorder.js 錄製語音並將其上傳到 python-flask 服務器,但 WAV 文件已損壞 (Record voice with recorder.js and upload it to python-flask server, but WAV file is broken)

無法將 WSL 節點解釋器添加到 WebStorm (Can't add WSL Node Interpreter to WebStorm)

即使我通過瀏覽器下載了最新的穩定版本,為什麼我的 ubuntu 終端 v10 中的節點版本仍然存在? (Why is my node version in my ubuntu terminal v10 even though I downloaded the latest stable version through browser?)

帶有 python 子進程的 WSL (WSL with python subprocess)

在 Powershell 中重定向 WSL 輸入 (Redirect WSL input in Powershell)

VSCode WSL奇怪的顏色問題 (VSCode WSL Weird Colors Issue)

FAT[0000] 無效配置:未提供配置 (FATA[0000] invalid configuration: no configuration has been provided)







留言討論