-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AKO log_collector.py file path #1442
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,8 +99,19 @@ For every log collection, also collect the following information: | |
|
||
### How do I gather the AKO logs? | ||
|
||
Get the script from [here](https://github.com/avinetworks/devops/tree/master/openshift/ako/log_collector.py) | ||
Get the script from [here](https://github.com/avinetworks/devops/tree/master/tools/ako/log_collector.py) | ||
|
||
Please use following command on shell prompt to collect AKO logs and configmap. | ||
``` | ||
root@vm-with-k8-cluster-access:/var# python3 log_collector.py -ako AKONAMESPACE -s SINCE | ||
``` | ||
Here: | ||
1. Parameter `-ako` takes AKONAMESPACE and it is compulsory. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. compulsory -> mandatory (Maybe) |
||
2. Parameter `-s` takes a duration for which logs needs to be collected. It is an optional parameter. For pod not having persistent volume storage the logs since a given time duration can be fetched.<br> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. a duration -> the duration |
||
Mention the time as 2s(for 2 seconds) or 4m(for 4 mins) or 24h(for 24 hours)<br> | ||
Example: if 24h is mentioned, the logs from the last 24 hours are fetched.<br> | ||
Default is taken to be 24h. | ||
3. Script has to be run on a machine which has Kubernetes cluster access. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. which has -> that has |
||
The script is used to collect all relevant information for the AKO pod. | ||
|
||
**About the script:** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this script also return information about configmap ?