Skip to content

Commit 84e16ee

Browse files
supersebDenise
authored andcommitted
Add step to get Rancher logging in HA
1 parent 60fafc7 commit 84e16ee

File tree

1 file changed

+8
-2
lines changed
  • content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting

1 file changed

+8
-2
lines changed

content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting/_index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If a pod is not in **Running** state, you can dig into the root cause by running
3131
kubectl --kubeconfig kube_config_rancher-cluster.yml describe pod POD_NAME -n NAMESPACE
3232
```
3333

34-
<h5>Pod logs</h5>
34+
<h5>Pod container logs</h5>
3535

3636
```
3737
kubectl --kubeconfig kube_config_rancher-cluster.yml logs POD_NAME -n NAMESPACE
@@ -45,7 +45,7 @@ If a job is not in **Completed** state, you can dig into the root cause by runni
4545
kubectl --kubeconfig kube_config_rancher-cluster.yml describe job JOB_NAME -n NAMESPACE
4646
```
4747

48-
<h5>Logs from the pods of the job</h5>
48+
<h5>Logs from the containers of pods of the job</h5>
4949

5050
```
5151
kubectl --kubeconfig kube_config_rancher-cluster.yml logs -l job-name=JOB_NAME -n NAMESPACE
@@ -58,3 +58,9 @@ Kubernetes cluster events are stored, and can be retrieved by running:
5858
```
5959
kubectl --kubeconfig kube_config_rancher-cluster.yml get events --all-namespaces
6060
```
61+
62+
* Check Rancher container logging
63+
64+
```
65+
kubectl --kubeconfig kube_config_rancher-cluster.yml logs -l app=cattle -n cattle-system
66+
```

0 commit comments

Comments
 (0)