jeahoonchen 当我们开启容器日志实时刷新后 由于大量的debug日志,浏览器(chromium内核)的内存占用会不断上升,最后导致浏览器out of memory崩溃 能否有类似 tail -fn 1000 ,只展示多少行的选择,用这种方式来避免这种问题?
johnniang jeahoonchen 首次打开日志窗口,默认会获取 1000 行日志,如果开启实时刷新,会不断将后续的日志添加到页面中。 可参考: https://github.com/kubesphere/console/blob/5d00069dece16bd10811398445fa745d6424b919/src/components/Cards/ContainerLog/index.jsx#L48
johnniang jeahoonchen 欢迎到 https://github.com/kubesphere/console/issues/new?assignees=&labels=kind%2Ffeature&template=enhancement.md 提交你的想法,方便后续跟踪,吸引感兴趣的 Contributors。