Aller au contenu

Kubelet and Kube-proxy logs#

Kubelet and Kube-proxy logs are fetched differently on FE clusters and AWS clusters.

On FE cluster :

  • for version < v1.21:

    • Kube-proxy is a process and the logs are in /var/paas/sys/log/kubernetes/kube-proxy.log
    • Kubelet logs are in /var/paas/sys/log/kubernetes/kubelet.log
  • for version > v1.21:

    • Kube-proxy is a process and the logs are in /var/log/cce/kubernetes/kube-proxy.log
    • Kubelet logs are in /var/log/cce/kubernetes/kubelet.log

On AWS cluster :

  • Kube-proxy is a kubernetes pod and the logs are obtained via the k8S service discovery.
  • Kubelet logs are in /var/log/messages So the promtail pipeline to retrieve the logs from kubelet and the logs that are in /var/log/messages has been modified to be able to distinguish between the both.