kubernetes/cluster/gce/container-linux
Kubernetes Submit Queue 4c02f29196 Merge pull request #41211 from enisoc/configure-audit-log
Automatic merge from submit-queue (batch tested with PRs 40297, 41285, 41211, 41243, 39735)

cluster/gce: Add env var to enable apiserver basic audit log.

For now, this is focused on a fixed set of flags that makes the audit
log show up under /var/log/kube-apiserver-audit.log and behave similarly
to /var/log/kube-apiserver.log. Allowing other customization would
require significantly more complex changes.

Audit log rotation is handled the same as for `kube-apiserver.log`.

**What this PR does / why we need it**:

Add a knob to enable [basic audit logging](https://kubernetes.io/docs/admin/audit/) in GCE.

**Which issue this PR fixes**:

**Special notes for your reviewer**:

We would like to cherrypick/port this to release-1.5 also.

**Release note**:
```release-note
The kube-apiserver [basic audit log](https://kubernetes.io/docs/admin/audit/) can be enabled in GCE by exporting the environment variable `ENABLE_APISERVER_BASIC_AUDIT=true` before running `cluster/kube-up.sh`. This will log to `/var/log/kube-apiserver-audit.log` and use the same `logrotate` settings as `/var/log/kube-apiserver.log`.
```
2017-02-15 03:25:12 -08:00
..
configure-helper.sh Merge pull request #41211 from enisoc/configure-audit-log 2017-02-15 03:25:12 -08:00
configure.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
health-monitor.sh Bump container-linux and gci timeout for docker health check 2017-01-10 13:07:21 -08:00
helper.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
master-helper.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
master.yaml cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
node-helper.sh cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
node.yaml cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00
OWNERS OWNERS: Update latest OWNERS files 2017-01-23 10:05:48 -08:00
README.md cluster/gce: Rename coreos to container-linux. 2016-12-30 15:32:02 -08:00

Container Linux image

The Container Linux Operating System is a Linux distribution optimized for running containers securely at scale. CoreOS provides a Container Linux image for Google Cloud Platform (GCP).

This folder contains configuration and tooling to allow kube-up to create a Kubernetes cluster on Google Cloud Platform running on the official Container Linux image.

Analytics