对于一个容器来说,它的 IP 地址等信息不是固定的,那么 Web 应用又怎么找到数据库容器的 Pod 呢?所以,Kubernetes 项目的做法是给 Pod 绑定一个 Service 服务,而 Service 服务声明的 IP 地址等信息是“终生不变”的。这个Service 服务的主要作用,就是作为 Pod 的代理入口(Portal),从而代替 Pod 对外暴露一个固定的网络地址。这样,对...
阅读全文…
问题Error moving temp DB file temp-1.rdb on the final destination dump.rdb (in server root dir /usr/local/redis/data): Device or resource busy
原因挂载路径改为目录,而不是文件
解决如:/root/compose/data-volumes/redis/du...
阅读全文…
原文:https://github.com/kubernetes/kubernetes/issues/23726
Deleted the old config from ~/.kube and then restarted docker (for macos) and it rebuilt the config folder.
All good now when I do ‘kubectl ...
阅读全文…
filebeat 作为服务启动,而非命令行启动时,传输一批数据后便停止工作,日志中输出如下信息:
2018-12-03T17:07:29+08:00 CRIT Unable to publish events to console: write /dev/stdout: The handle is invalid.2018-12-03T17:07:29+08:00 INFO Error bu...
阅读全文…