Skip to content

Commit

Permalink
Merge pull request #15238 from cloudsufi/hdf-obseravabilty-UI_pod_log
Browse files Browse the repository at this point in the history
Command added for user interface pod logs
  • Loading branch information
rmstar authored Jul 19, 2023
2 parents f2ad305 + b287025 commit 5d5cfdd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cdap-support-bundle/bin/collect_support_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,16 @@ def main(kube_namespace, username, password, cdap_ns, pipeline_name, run_id, run
"placeholderString": "",
"parentFolder": cdap_services_logs
},
{
"command": f'kubectl logs -l cdap.container.UserInterface -n {kube_namespace} --tail -1',
"fileName": 'kubectl-log-l-cdap-container-UserInterface',
"fileExt": 'log',
"fileWrite": True,
"forEachNode": False,
"forEachCommand": '',
"placeholderString": "",
"parentFolder": cdap_services_logs
},
{
"command": f'kubectl logs -l cdap.container.ArtifactCache -n {kube_namespace} --tail -1',
"fileName": 'kubectl-log-l-cdap-container-ArtifactCache',
Expand Down

0 comments on commit 5d5cfdd

Please sign in to comment.