Post

Troubleshooting Tips Per Topic

Troubleshooting Tips Per Topic

Troubleshooting Tips Per Topic

CKA Tips

  • In this section we’ll provide some tips on how troubleshoot issues based on CKA topics.

General Tips

  1. Use tail and grep to follow the logs real time.
  2. Always make a copy of the any files before modifying.

Apiserver Crash/Misconfiguration

FileLocation
Configuration/etc/kubernetes/manifests/kube-apiserver.yaml
Logs/var/log/pods
 /var/log/containers
 crictl ps and crictl logs <containerid>
 docker ps and docker ps <containerid>
Kubelet Config/var/lib/kubelet/
Kubelet Logs/var/log/syslog or journalctl

systemctl commands

CommandDescription
systemctl cat <service_name>To check the service configuration
This post is licensed under CC BY 4.0 by the author.