简体   繁体   中英

Export Kubernetes Logs from Argo

I am working in a setup where I have an Argo CD portal to view the Kubernetes deployments etc. But do not have access to a kubeconfig file (hence cannot use kubectl).

I can see the logs for the pods in the web UI, but is there a way to export the logs as a text file?

ArgoCD's logging interface in >2.0 includes a Download button.

For earlier versions, open your browser's dev tools to the Network tab. Click the Logs tag in the ArgoCD interface. Find the network request to the logs endpoint and open the URL in a new tab. From there you can download the logs as a text file using your browser's "Save As" feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM