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
- Kube-proxy is a process and the logs are in
-
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
- Kube-proxy is a process and the logs are in
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/messagesSo the promtail pipeline to retrieve the logs from kubelet and the logs that are in/var/log/messageshas been modified to be able to distinguish between the both.