File tree Expand file tree Collapse file tree
content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting Expand file tree Collapse file tree 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
3131kubectl --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```
3737kubectl --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
4545kubectl --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```
5151kubectl --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```
5959kubectl --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+ ```
You can’t perform that action at this time.
0 commit comments