Logging/Monitoring (5%)

Understand how to monitor all cluster components

Understand how to monitor applications

Manage cluster component logs

  • https://v1-8.docs.kubernetes.io/docs/concepts/cluster-administration/logging/#system-component-logs
  • components running under systemd write logs to journald
  • containerised components log under /var/log
    •  Master
      • /var/log/kube-apiserver.log – API Server, responsible for serving the API
      • /var/log/kube-scheduler.log – Scheduler, responsible for making scheduling decisions
      • /var/log/kube-controller-manager.log – Controller that manages replication controllers
    • Worker Nodes
      • /var/log/kubelet.log – Kubelet, responsible for running containers on the node
      • /var/log/kube-proxy.log – Kube Proxy, responsible for service load balancing

Manage application logs