Created
March 31, 2018 19:44
-
-
Save noqcks/4851836ce7ffd6a7611ee99c4f5a9789 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| spec: | |
| fileAssets: | |
| — name: kubernetes-audit | |
| path: /srv/kubernetes/audit.yaml | |
| # which type of instances to appy the file | |
| roles: [Master] | |
| content: | | |
| <audit policy here> | |
| kubeAPIServer: | |
| auditLogPath: /var/log/kube-apiserver-audit.log | |
| auditLogMaxAge: 10 # num days | |
| auditLogMaxBackups: 1 # the num of audit logs to retain | |
| auditLogMaxSize: 100 # the max size in MB to retain | |
| auditPolicyFile: /srv/kubernetes/audit.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment