You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Feature Request
Should add documentation on how to view pipeline logs from cluster directly.
What would you like to be added
The place where we are providing details on viewing pipe logs using jx dash
Why is this needed
This will help JenkinsX user when they face an issue like jx dash ui unable to retrieve log file from S3 bucket, or when jx dash ui is not available due to infra issue or also when jx dash got stuck while loading logs
Comments
Something like below will be more helpful ...
The pipelines are run on pods, so you can ultimately get the logs from there. To see the pipelineruns sorted by time, use this command
jx ns jx
kubectl get pipelineruns --sort-by=.metadata.creationTimestamp
When you find the pipelinerun you want to investigate, run
kubectl describe pipelinerun
There should be a "message" field describing any errors, which you can get using a command like this
kubectl describe pipelinerun | grep -i message
Also, you can find the pod the pipelinerun used and read logs directly from there
kubectl describe pipelinerun | grep -i 'pod name'
Should output the name of the pod, then do
kubectl logs
The text was updated successfully, but these errors were encountered:
This is a Feature Request
Should add documentation on how to view pipeline logs from cluster directly.
What would you like to be added
The place where we are providing details on viewing pipe logs using jx dash
Why is this needed
This will help JenkinsX user when they face an issue like jx dash ui unable to retrieve log file from S3 bucket, or when jx dash ui is not available due to infra issue or also when jx dash got stuck while loading logs
Comments
Something like below will be more helpful ...
jx ns jx
kubectl get pipelineruns --sort-by=.metadata.creationTimestamp
kubectl describe pipelinerun
kubectl describe pipelinerun | grep -i message
kubectl describe pipelinerun | grep -i 'pod name'
Should output the name of the pod, then do
kubectl logs
The text was updated successfully, but these errors were encountered: