Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器日志无法显示 #703

Closed
lijujntao120 opened this issue Sep 5, 2019 · 4 comments
Closed

容器日志无法显示 #703

lijujntao120 opened this issue Sep 5, 2019 · 4 comments
Assignees

Comments

@lijujntao120
Copy link

集群模式搭建,单节点nfs,同样是软连了docker的物理挂载点配置已修改,日志显示出不来!!

image

image

image

image

@lijujntao120
Copy link
Author

怎么没人回复 一下!!

@runzexia
Copy link

runzexia commented Sep 6, 2019

/assign @huanggze

@huanggze
Copy link
Member

huanggze commented Sep 6, 2019

#680 更新了操作命令,再检查看看操作说明. 是否仅修改了ConfigMap? 有无执行删除 fluent-bit 并重启 fluentbit-operator ?

如需要远程协助,可以加入kubesphere 技术微信群,与我们沟通.

群链接见官网底部微信图标 https://kubesphere.io/

@lijujntao120
Copy link
Author

lijujntao120 commented Sep 6, 2019

已经解决,之前比较迷惑的是把物理机和容器服务全重启也不生效,猜测可能不支持软连!
解决思路,要先将fluent bit删除然后重建才能使修改的文件生效,并重启fluent operator
修改的文件见图片
image

image

界面上不能删除和重启,需要使用以下命令处理

修改 ConfigMap

kubectl edit -n kubesphere-logging-system configmaps logging-fluentbit-operator

删除 fluent-bit Daemonset

kubectl delete -n kubesphere-logging-system daemonsets fluent-bit

重启 fluent-bit-operator Deployment

kubectl scale -n kubesphere-logging-system deployment logging-fluentbit-operator --replicas=0
kubectl scale -n kubesphere-logging-system deployment logging-fluentbit-operator --replicas=1

检查 fluent-bit 是否起来

kubectl get po -n kubesphere-logging-system

zhou1203 pushed a commit to zhou1203/kubesphere that referenced this issue Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants