Files
Kubernetes/问题记录/K3s使用Helm报错.md
offends 8a87b699ba
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-13 18:06:23 +08:00

19 lines
398 B
Markdown

> 本文作者:丁辉
# K3s-Helm部署报错
报错内容为
```bash
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused
```
> 问题原因:本地没有 kube-config 导致 K3s 无法连接到 Kubernetes 集群引起的
执行命令解决
```bash
kubectl config view --raw > ~/.kube/config
```