diff --git a/content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting/_index.md b/content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting/_index.md index e77ecfa079..ad66ce274b 100644 --- a/content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting/_index.md +++ b/content/rancher/v2.x/en/installation/troubleshooting-ha/generic-troubleshooting/_index.md @@ -31,7 +31,7 @@ If a pod is not in **Running** state, you can dig into the root cause by running kubectl --kubeconfig kube_config_rancher-cluster.yml describe pod POD_NAME -n NAMESPACE ``` -
Pod logs
+
Pod container logs
``` 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 kubectl --kubeconfig kube_config_rancher-cluster.yml describe job JOB_NAME -n NAMESPACE ``` -
Logs from the pods of the job
+
Logs from the containers of pods of the job
``` 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: ``` kubectl --kubeconfig kube_config_rancher-cluster.yml get events --all-namespaces ``` + +* Check Rancher container logging + +``` +kubectl --kubeconfig kube_config_rancher-cluster.yml logs -l app=cattle -n cattle-system +```