-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: everettraven <[email protected]>
- Loading branch information
1 parent
0a29d09
commit 3481a27
Showing
10 changed files
with
121 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- _coverpage.md --> | ||
|
||
![logo](_media/logo.png) | ||
|
||
# buoy | ||
|
||
> A declarative Kubernetes TUI dashboard | ||
[GitHub](https://github.com/everettraven/buoy) | ||
[Get Started](#buoy) | ||
|
||
<!-- background color --> | ||
|
||
![color](#ffffff) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,6 @@ | |
- [Introduction](/) | ||
- Panels | ||
- [Table](panels/table.md) | ||
- [Item](panels/item.md) | ||
- [Logs](panels/logs.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,95 @@ | ||
# Logs | ||
# Logs | ||
|
||
The `logs` panel is great for following the logs of any resource that has a `spec.selector` field that maps | ||
to a `Pod`. It can also be directly pointed to an individual `Pod` to stream that `Pod`s logs. | ||
|
||
## Examples | ||
|
||
### Getting logs from a `Deployment` | ||
|
||
For this example, we are going to fetch some logs for a `Deployment` named `foo` in the `default` namespace | ||
|
||
<!-- tabs:start --> | ||
|
||
#### **JSON** | ||
```json | ||
{ | ||
"panels": [ | ||
{ | ||
"name": "Foo Logs", | ||
"group": "apps", | ||
"version": "v1", | ||
"kind": "Deployment", | ||
"type": "logs", | ||
"key": { | ||
"namespace": "default", | ||
"name": "foo" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
#### **YAML** | ||
```yaml | ||
panels: | ||
- name: Foo Logs | ||
group: apps | ||
version: v1 | ||
kind: Deployment | ||
type: logs | ||
key: | ||
namespace: default | ||
name: foo | ||
``` | ||
<!-- tabs:end --> | ||
### Logs from a `Pod` | ||
|
||
For this example, we are going to fetch some logs for a `Pod` named `foo` in the `default` namespace | ||
|
||
<!-- tabs:start --> | ||
|
||
#### **JSON** | ||
```json | ||
{ | ||
"panels": [ | ||
{ | ||
"name": "Foo Logs", | ||
"group": "", | ||
"version": "v1", | ||
"kind": "Pod", | ||
"type": "logs", | ||
"key": { | ||
"namespace": "default", | ||
"name": "foo" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
#### **YAML** | ||
```yaml | ||
panels: | ||
- name: Foo Logs | ||
group: "" | ||
version: v1 | ||
kind: Pod | ||
type: logs | ||
key: | ||
namespace: default | ||
name: foo | ||
``` | ||
|
||
<!-- tabs:end --> | ||
|
||
## Controls | ||
|
||
- Up and down arrow keys for navigating the viewport | ||
- Page Up and Page Down for jumping up and down in the viewport | ||
- `/` to enter a search mode. This will open a prompt for inputting a search query. When in search mode: | ||
- `enter` / `return` executes the search query | ||
- `ctrl+s` toggles between fuzzy and strict search. strict search will only match lines strictly containing your search term. | ||
- `esc` will exit search mode and return to the full logs |