containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

EKS Control Plane Logs

Open pauncejones opened this issue 7 years ago • 19 comments

View Kubernetes API Server and Audit Logs in your account.

pauncejones avatar Dec 05 '18 23:12 pauncejones

Would this include apiserver audit logs?

swestcott avatar Dec 12 '18 09:12 swestcott

Would be nice to be able to push the logs into an Elasticsearch service running on aws.

brynmathias avatar Dec 12 '18 17:12 brynmathias

If it goes to cloudwatch it would be more flexible than elasticsearch - would also follow the ECS pattern.

jesse-peters avatar Dec 12 '18 19:12 jesse-peters

Is this going to include other control plane components such scheduler, kubelet and controller-manager? Also interested in logs from iam authenticator pod for auditing purposes.

vijaykatam avatar Jan 04 '19 01:01 vijaykatam

Is there an ETA for this feature?

tiffanycitra avatar Feb 18 '19 17:02 tiffanycitra

@tiffanycitra From the README:

A: Because job zero is security and operational stability, we can't provide specific target dates for features.

However given this has just moved to Coming Soon, that's a good sign! 😅

tdmalone avatar Feb 22 '19 03:02 tdmalone

+1

sankareds avatar Mar 11 '19 20:03 sankareds

How is it supposed to be PCI compliant if I can't get an audit log (k8s events / api logs)

max-lobur avatar Apr 03 '19 12:04 max-lobur

Our migration to EKS has come to a halt due to this. From security and audit perspective i have no way to know who did what. So this has become a blocker for us.

pc-rshetty avatar Apr 03 '19 21:04 pc-rshetty

Just shipped! You can now send Kubernetes control plane logs from your EKS clusters to CloudWatch Logs.

  • https://aws.amazon.com/about-aws/whats-new/2019/04/amazon-eks-now-delivers-kubernetes-control-plane-logs-to-amazon-/
  • https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html

tabern avatar Apr 04 '19 23:04 tabern

Super awesome! Thanks to everyone involved!

nickschuch avatar Apr 05 '19 04:04 nickschuch

thank you very much AWS EKS team

pc-rshetty avatar Apr 05 '19 05:04 pc-rshetty

Thank you for this!

bnutt avatar Apr 05 '19 05:04 bnutt

Can you enable this with cloudformation yet? The API yes: https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateCluster.html

StevenACoffman avatar Apr 08 '19 14:04 StevenACoffman

@pc-rshetty so happy to hear that this unblocked you! @StevenACoffman - yes. I've opened https://github.com/aws/containers-roadmap/issues/242 to track this.

tabern avatar Apr 08 '19 18:04 tabern

Side note, this isn't available within troposphere yet. I already opened a ticket there.

See (or vote) - https://github.com/cloudtools/troposphere/issues/1362

rtkgjacobs avatar Apr 08 '19 18:04 rtkgjacobs

@tabern yeah our Security and compliance had refused to let us migrate if this was not in place. so thank you very much. We moved couple into EKS but to move all existing production workload we need it to be fool proof.

pc-rshetty avatar Apr 08 '19 19:04 pc-rshetty

Today i saw on our prod cloudwatch(we did not configure master logs yet) that kube-controller-manager, authenticator, kube-apiserver-audit logs showingup. I haven't researched on it yet but is it due to this new feature(some kind of default )

pc-rshetty avatar Apr 09 '19 01:04 pc-rshetty

ok sorry , i just checked our devops went superfast and enabled it :) so that explains why we see the logs now.

pc-rshetty avatar Apr 09 '19 01:04 pc-rshetty