Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在一个设置中工作,我有一个 Argo CD 门户来查看 Kubernetes 部署等。但无权访问 kubeconfig 文件(因此无法使用 kubectl)。
我可以在 Web UI 中看到 pod 的日志,但是有没有办法将日志导出为文本文件?
ArgoCD 在 >2.0 中的日志界面包括一个下载按钮。
对于早期版本,打开浏览器的开发工具到网络选项卡。单击 ArgoCD 界面中的 Logs 标签。找到对logs端点的网络请求并在新选项卡中打开 URL。从那里您可以使用浏览器的“另存为”功能将日志下载为文本文件。
logs