How to get k8s master logs on EKS?

Multi tool use
Multi tool use


I am looking for these logs:



In EKS user does not have access to the control plane and can't see these files directly.



I am aware of CloudTrail integration announced by AWS. But it shows events not from k8s API, but AWS EKS API like CreateCluster event. Also the open question how to get scheduler and controller manager logs.



There is no pods for api and controller in pods list.



There is no master nodes in the node list



Things like kube-api server logs, the kube-scheduler logs, the kube-controller manager logs, etc. will be available in CloudWatch logs. While (as you have stated) EKS API calls will be logged to cloudtrail.



**I take that back, I guess AWS EKS has not gotten around to that yet. You will need to use an EFK stack to get the logs.



Someone has already put together a quick how-to:
https://github.com/aws-samples/aws-workshop-for-kubernetes/tree/master/02-path-working-with-clusters/204-cluster-logging-with-EFK






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

f648 mLk2H,N495ZXvs1IrXYV T04JzA
rp9AmSuZi2yj6xE,wEbe,LTU54,O6XPTijvlzutEQ,a9zMzY8,6n 6s PLu

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận