Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

akshayhavile
Copy link
Contributor

No description provided.

@Dhivyaaj
Copy link

No JIRA Ids found for the PR. Jira id is mandatory to update fix version in jira. Please update respective Jira id in PR title or commit message if the PR is intented for default branches of repo. For mandatory exemptions, comment trigger phrase 'skip jira-id-check' in PR. For manual trigger, comment trigger phrase 'run jira-id-check' in PR.

@akshayhavile
Copy link
Contributor Author

skip jira-id-check

@Dhivyaaj
Copy link

No JIRA Ids found for the PR. Jira id is mandatory to update fix version in jira. Please update respective Jira id in PR title or commit message if the PR is intented for default branches of repo. For mandatory exemptions, comment trigger phrase 'skip jira-id-check' in PR. For manual trigger, comment trigger phrase 'run jira-id-check' in PR.

@Dhivyaaj
Copy link

No JIRA Ids found for the PR. Jira id is mandatory to update fix version in jira. Please update respective Jira id in PR title or commit message if the PR is intented for default branches of repo. For mandatory exemptions, comment trigger phrase 'skip jira-id-check' in PR. For manual trigger, comment trigger phrase 'run jira-id-check' in PR.

@Dhivyaaj
Copy link

No JIRA Ids found for the PR. Jira id is mandatory to update fix version in jira. Please update respective Jira id in PR title or commit message if the PR is intented for default branches of repo. For mandatory exemptions, comment trigger phrase 'skip jira-id-check' in PR. For manual trigger, comment trigger phrase 'run jira-id-check' in PR.

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compulsory -> mandatory (Maybe)


Please use following command on shell prompt to collect AKO logs and configmap.
Copy link
Contributor

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 ?

```
Here:
1. Parameter `-ako` takes AKONAMESPACE and it is compulsory.
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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a duration -> the duration
logs needs -> logs need

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which has -> that has

@pkoshtavmware
Copy link
Contributor

skip jira-id-check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants