-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Using K9s | ||
|
||
K9s is installed onto the seed VM. You can use this for a more interractive | ||
view of the Kubernetes clusters. From the seed, either run `k9s` with | ||
`KUBECONFIG` unset to view the K3s cluster, or export the provided `KUBECONFIG` | ||
file to view the HA cluster. | ||
|
||
```console | ||
$ ./bin/seed-ssh | ||
ubuntu@azimuth-staging-seed:~$ export KUBECONFIG=./kubeconfig-azimuth-staging.yaml | ||
ubuntu@azimuth-staging-seed:~$ k9s | ||
``` | ||
|
||
By default, you are viewing the pods in the default namespace. | ||
|
||
![Pods view in K9s](k9s-default-pods.png) | ||
|
||
Here's some simple commands to get started: | ||
|
||
* View all namespaces by pressing `0`. | ||
|
||
![All pods in K9s](k9s-all-pods.png) | ||
|
||
* Select a pod with the arrow keys and view its logs with `l`. | ||
|
||
![capo-controller logs in K9s](k9s-pod-logs.png) | ||
|
||
* Switch between resources with `:<resource-type>`. For example: | ||
|
||
```console | ||
:machines | ||
:clusters | ||
:pods | ||
``` | ||
|
||
|
||
See the [k9s docs](https://k9scli.io/) for more details. |