-
Notifications
You must be signed in to change notification settings - Fork 97
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 local-testing document to include debugging techniques #7300
Update local-testing document to include debugging techniques #7300
Conversation
|
||
|
||
## Preferred Tools used to visualize k8s logs (pros/cons) | ||
(@yetkin/@vishwa) |
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.
I'm a big fan of stern. https://github.com/stern/stern
stern '.*' -n radius-system
outputs all logs from Radius componentsstern 'ucpd.*' -n radius-system
outputs UCP logs.
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.
It would also be nice to have some non-JSON options for log viewing. JSON logs are good for machines and bad for humans
## Github Pipelines | ||
(@vinaya, @willsmith) | ||
|
||
## Container Dev |
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.
## Container Dev | |
## Devcontainers |
I'd suggest retitling the section. Devcontainer is a specific technology.
|
||
## Container Dev | ||
(??) Describe good usecases to debug using dev containers | ||
|
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.
A few usecases I really like for devcontainers
- You don't need to install anything on your machine. If you're doing a few contributions to a repo it's really nice to have an on rails process for contributing without hunting down dependencies.
- If a repo has a devcontainer then it supports codespaces. Codespaces are awesome because you can have multiple of them.
- You can run additional stateful things in a codespace/devcontainer. eg: you can have your codespace launch a Kubernetes cluster and install Radius. Then you can just close VS Code or your browser and it goes away.
This isn't really practical "do this" kind of info, but some of the reasons why devcontainers are useful.
This pull request has been automatically marked as stale because it has been inactive for 90 days. Remove stale label or comment or this PR will be closed in 7 days. |
Description
Draft outline document to update local-testing document to include debugging techniques used by team.
Team members tagged in document are requested to update sections and create independent PRs with updates.
Type of change