File tree Expand file tree Collapse file tree 5 files changed +38
-0
lines changed Expand file tree Collapse file tree 5 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Using K9s
2
+
3
+ K9s is installed onto the seed VM. You can use this for a more interactive view
4
+ of the Kubernetes clusters. From the seed, either run ` k9s ` with ` KUBECONFIG `
5
+ unset to view the K3s cluster, or export the provided ` KUBECONFIG ` file to view
6
+ the HA cluster.
7
+
8
+ ``` console
9
+ $ ./bin/seed-ssh
10
+ ubuntu@azimuth-staging-seed:~ $ export KUBECONFIG=./kubeconfig-azimuth-staging.yaml
11
+ ubuntu@azimuth-staging-seed:~ $ k9s
12
+ ```
13
+
14
+ By default, you are viewing the pods in the default namespace.
15
+
16
+ ![ Pods view in K9s] ( k9s-default-pods.png )
17
+
18
+ Here's some simple commands to get started:
19
+
20
+ * View all namespaces by pressing ` 0 ` .
21
+
22
+ ![ All pods in K9s] ( k9s-all-pods.png )
23
+
24
+ * Select a pod with the arrow keys and view its logs with ` l ` .
25
+
26
+ ![ capo-controller logs in K9s] ( k9s-pod-logs.png )
27
+
28
+ * Switch between resources with ` :<resource-type> ` . For example:
29
+
30
+ ``` console
31
+ :machines
32
+ :clusters
33
+ :pods
34
+ ```
35
+
36
+
37
+ See the [ k9s docs] ( https://k9scli.io/ ) for more details.
Original file line number Diff line number Diff line change 41
41
- debugging/index.md
42
42
- debugging/access-k3s.md
43
43
- debugging/access-ha.md
44
+ - debugging/using-k9s.md
44
45
- debugging/access-monitoring.md
45
46
- debugging/zenith-services.md
46
47
- debugging/consul.md
You can’t perform that action at this time.
0 commit comments