k8s问题排查

The connection to the server 172.30.1.2:6443 was refused - did you specify the right host or port?

1.查看/var/log/syslog日志,grep apiserver。查看错误日志信息,根据提示修改配置文件(如kube-apiserver.yaml)

2.去查看组件pod日志

/var/log/pods/kube-apiserver/../log

3.service restart kubelet

相关推荐
java_logo8 分钟前
QWEN3 企业级 Docker 容器化部署指南
运维·docker·容器·qwen3部署·qwen3部署文档·qwen3部署教程·qwen3部署方案
糖~醋排骨9 分钟前
DHCP服务的搭建
linux·服务器·网络
huohaiyu15 分钟前
网络中的一些基本概念
运维·服务器·网络
Kiyra15 分钟前
虚拟机假死?SSH 能连却卡 Logo 界面
运维·ssh
dust_and_stars28 分钟前
ubuntu24使用apt安装VS-code-server code-server
linux·服务器·windows
tap.AI1 小时前
Deepseek(九)多语言客服自动化:跨境电商中的多币种、多语种投诉实时处理
运维·人工智能·自动化
ling-451 小时前
Linux-day09 11
linux·运维·服务器
202321336054 刘1 小时前
Linux常用命令分类整理
linux·运维·数据库
zbguolei1 小时前
Debian提示:“用户名” 不是 sudoers 文件
linux·服务器·debian
oMcLin1 小时前
如何在 Debian 11 上通过配置 LVM 和 RAID 结合,提升大规模存储系统的性能与冗余性
运维·debian