kubernetes/cluster/gce
Kubernetes Submit Queue ea4764bf47 Merge pull request #46897 from timstclair/audit-policy
Automatic merge from submit-queue (batch tested with PRs 46897, 46899, 46864, 46854, 46875)

Write audit policy file for GCE/GKE configuration

Setup the audit policy configuration for GCE & GKE. Here is the high level summary of the policy:

- Default logging everything at `Metadata`
- Known write APIs default to `RequestResponse`
- Known read-only APIs default to `Request`
- Except secrets & configmaps are logged at `Metadata`
- Don't log events
- Don't log `/version`, swagger or healthchecks

In addition to the above, I spent time analyzing the noisiest lines in the audit log from a cluster that soaked for 24 hours (and ran a batch of e2e tests). Of those top requests, those that were identified as low-risk (all read-only, except update kube-system endpoints by controllers) are dropped.

I suspect we'll want to tweak this a bit more once we've had a time to soak it on some real clusters.

For kubernetes/features#22

/cc @sttts @ericchiang
2017-06-06 05:22:40 -07:00
..
container-linux Change to aggregator so it calls a user apiservice via its pod IP. 2017-05-26 16:10:01 -07:00
debian remove support for debian masters in GCE 2017-02-28 09:54:07 -08:00
gci Merge pull request #46897 from timstclair/audit-policy 2017-06-06 05:22:40 -07:00
BUILD Adding an installer script that installs Nvidia drivers in Container Optimized OS 2017-05-20 21:17:19 -07:00
config-common.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
config-default.sh Merge pull request #45565 from Q-Lee/mds 2017-06-03 08:55:32 -07:00
config-test.sh Merge pull request #45565 from Q-Lee/mds 2017-06-03 08:55:32 -07:00
configure-vm.sh Merge pull request #40760 from mikedanese/gce 2017-06-03 18:30:38 -07:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
delete-stranded-load-balancers.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
list-resources.sh Don't fail if the grep fails to match any resources 2017-02-22 14:55:57 -08:00
OWNERS adding vishh to gce cluster owners 2017-02-27 10:58:43 -08:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade.sh Respect PDBs during GCE node upgrades. 2017-06-01 17:58:45 -07:00
util.sh gcloud command syntax changed between alpha and beta versions 2017-05-26 17:02:25 -07:00