File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ If a pod is not in **Running** state, you can dig into the root cause by running
31
31
kubectl --kubeconfig kube_config_rancher-cluster.yml describe pod POD_NAME -n NAMESPACE
32
32
```
33
33
34
- <h5 >Pod logs</h5 >
34
+ <h5 >Pod container logs</h5 >
35
35
36
36
```
37
37
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
45
45
kubectl --kubeconfig kube_config_rancher-cluster.yml describe job JOB_NAME -n NAMESPACE
46
46
```
47
47
48
- <h5 >Logs from the pods of the job</h5 >
48
+ <h5 >Logs from the containers of pods of the job</h5 >
49
49
50
50
```
51
51
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:
58
58
```
59
59
kubectl --kubeconfig kube_config_rancher-cluster.yml get events --all-namespaces
60
60
```
61
+
62
+ * Check Rancher container logging
63
+
64
+ ```
65
+ kubectl --kubeconfig kube_config_rancher-cluster.yml logs -l app=cattle -n cattle-system
66
+ ```
You can’t perform that action at this time.
0 commit comments