k3s Helm Error INSTALLATION FAILED Kubernetes cluster unreachable

Kubernetes k3s Helm About 263 words

错误信息

Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused

解决方法

编辑/etc/profile

vim /etc/profile

追加内容:

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

刷新配置

source /etc/profile
Views: 4,560 · Posted: 2022-03-28

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh