The connection to the server xx:6443 was refused - did you specify the right host or port?
发布时间
阅读量:
阅读量
某天在使用数据库时遇到了连接问题,在随后尝试访问Kubernetes API(kubectl)时发现不可用。kubelet服务能够正常工作。

尝试重启Docker服务。重启失败。
[root@liufeifei ~]# systemctl restart docker
任务完成
改写内容

根据提示,执行以下命令:journalctl -xe
imjournaldroid detected an error when attempting to close the log file at path '/var/lib/rsyslog/imjournal.state.tmp'. The device lacks sufficient storage space, as indicated by the error message [v8.24.0-5].

执行top命令,再输入大写M,按照内存排序。rsyslogd占用了23.1%的内存。

systemctl status rsyslog
查询rsyslog服务的运行状态。

我将/var/log/journal路径下的文件夹都删除掉。

重启rsyslog服务。

重启docker服务,正常运行。kubectl服务恢复,数据库连接恢复。

全部评论 (0)
还没有任何评论哟~
