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

Changes in documentation #1084

Merged
merged 4 commits into from
Nov 12, 2020
Merged

Changes in documentation #1084

merged 4 commits into from
Nov 12, 2020

Conversation

kasia-kujawa
Copy link
Contributor

Description
  • Corrected formatting
  • Added useful information to vagrant readme
Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

Comment on lines 39 to 41
```bash
/sumologic/vagrant/Makefile build
sumo-make build
```
Copy link
Contributor

Choose a reason for hiding this comment

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

keep the old one as alternative as well ... or ... (2 snippets)

Comment on lines 47 to 49
```bash
/sumologic/vagrant/Makefile upgrade
sumo-make upgrade
```
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Comment on lines 56 to 58
```bash
/sumologic/vagrant/Makefile clean
sumo-make clean
```
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto


## Test

To quickly test whether sumo-kubernetes-collection works receiver-mock can be used.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
To quickly test whether sumo-kubernetes-collection works receiver-mock can be used.
In order to quickly test whether sumo-kubernetes-collection works, one can use `receiver-mock` for that purpose.

🤷🏻

Comment on lines 70 to 77
To check receiver-mock logs please use:
```
kubectl logs $(kubectl get pod -l app=receiver-mock -o jsonpath="{.items[0].metadata.name}" -n receiver-mock) -n receiver-mock
```
To check metrics exposed by receiver-mock please use:
```
kubectl exec $(kubectl get pod -l app=receiver-mock -o jsonpath="{.items[0].metadata.name}" -n receiver-mock) -it -n receiver-mock -- curl http://localhost:3000/metrics
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Empty lines around snippet backticks

Comment on lines 69 to 70
sumo-make clean

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
sumo-make clean
sumo-make clean

Copy link
Contributor

Choose a reason for hiding this comment

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

redundant empty line

@@ -30,18 +30,32 @@ After successfull installation you can ssh to the virtual machine with:
vagrant ssh
```

NOTICE: The directory with sumo-kubernetes-collection repository is synced with the virtual machine.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
NOTICE: The directory with sumo-kubernetes-collection repository is synced with the virtual machine.
NOTICE: The directory with sumo-kubernetes-collection repository on the host is synced with `/sumologic/` directory on the virtual machine.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kasia-kujawa
Copy link
Contributor Author

@pmalek-sumo please take another look


```
kubectl exec $(kubectl get pod -l app=receiver-mock -o jsonpath="{.items[0].metadata.name}" -n receiver-mock) -it -n receiver-mock -- curl http://localhost:3000/metrics
```
Copy link
Contributor

Choose a reason for hiding this comment

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

We could add those commands as new targets to the Makefile. Not necessary in this PR :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could add those commands as new targets to the Makefile. Not necessary in this PR :)

I'll add this in a new PR

@pmalek-sumo pmalek-sumo reopened this Nov 12, 2020
@kasia-kujawa kasia-kujawa merged commit 81622de into master Nov 12, 2020
@kasia-kujawa kasia-kujawa deleted the kkujawa-fix-docs branch November 12, 2020 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants