原文:kubernetes 報錯The connection to the server localhost:8080 was refused - did you specify the right host or port?

The connection to the server localhost: was refused did you specify the right host or port 環境變量 原因:kubernetes master沒有與本機綁定,集群初始化的時候沒有綁定,此時設置在本機的環境變量即可解決問題。 解決方式 步驟一:設置環境變量 具體根據情況,此處記錄linux設置該環境變量 方式一 ...

2021-11-15 12:16 0 5244 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM