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

Add sidecar for nebula logging #14

Closed
HarrisChu opened this issue May 18, 2021 · 3 comments
Closed

Add sidecar for nebula logging #14

HarrisChu opened this issue May 18, 2021 · 3 comments
Labels
type/enhancement Type: make the code neat or more efficient

Comments

@HarrisChu
Copy link
Contributor

HarrisChu commented May 18, 2021

currently, we cannot review nebula logs via kubectl logs or other logging system.
Add the sidecar for nebula-graphd, nebula-metad, nebula-storaged, so that we can capture the logs via stdout.

e.g.
image

@veezhang
Copy link
Contributor

Thanks for your feedback!

You can access logs through the following command:

# list log files
kubectl -n $NAMESPACE exec -it $POD_NAME -- ls logs/
# then select a log file
kubectl -n $NAMESPACE exec -it $POD_NAME -- tailf logs/$log_file

# Or you can enter the pod, and then execute shell
kubectl -n $NAMESPACE exec -it $POD_NAME -- bash

@veezhang veezhang added the type/enhancement Type: make the code neat or more efficient label May 19, 2021
@MegaByte875
Copy link
Contributor

The sidecar configuration wil expose to user in v0.9.0

@MegaByte875
Copy link
Contributor

#84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

3 participants