< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

在项目中启用日志收集

本节介绍如何在项目中启用日志收集。

说明

启用后,在项目中创建工作负载和任务时,存储设置页签的收集卷上日志功能将可用。

Prerequisites

  • You should join a project and have the 项目设置管理 permission within the project. For more information, refer to "Project Members" and "Project Roles".

  • KubeSphere 平台需要安装并启用 WhizardTelemetry 日志扩展组件,并已启用日志收集

Steps

  1. Log in to the KubeSphere web console with a user who has the 项目设置管理 permission, and access your project.

  2. Click 项目设置 > 日志收集 in the left navigation pane.

  3. 收集卷上日志区域,点击切换开关将功能状态设置为已启用

Note

启用日志收集后,您需要重启容器组才能对现有的容器组生效。有关更多信息,请参阅重新创建工作负载重新运行任务删除容器组

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page