Kay Yan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
docs/vars.md
-
roles/kubernetes/control-plane/defaults/main/main.yml
|
@ -252,7 +252,7 @@ node_taints: |
|
|
The auditing parameters can be tuned via the following variables (which default values are shown below): |
|
|
The auditing parameters can be tuned via the following variables (which default values are shown below): |
|
|
* `audit_log_path`: /var/log/audit/kube-apiserver-audit.log |
|
|
* `audit_log_path`: /var/log/audit/kube-apiserver-audit.log |
|
|
* `audit_log_maxage`: 30 |
|
|
* `audit_log_maxage`: 30 |
|
|
* `audit_log_maxbackups`: 1 |
|
|
|
|
|
|
|
|
* `audit_log_maxbackups`: 10 |
|
|
* `audit_log_maxsize`: 100 |
|
|
* `audit_log_maxsize`: 100 |
|
|
* `audit_policy_file`: "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml" |
|
|
* `audit_policy_file`: "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml" |
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ audit_log_path: /var/log/audit/kube-apiserver-audit.log |
|
|
# num days |
|
|
# num days |
|
|
audit_log_maxage: 30 |
|
|
audit_log_maxage: 30 |
|
|
# the num of audit logs to retain |
|
|
# the num of audit logs to retain |
|
|
audit_log_maxbackups: 1 |
|
|
|
|
|
|
|
|
audit_log_maxbackups: 10 |
|
|
# the max size in MB to retain |
|
|
# the max size in MB to retain |
|
|
audit_log_maxsize: 100 |
|
|
audit_log_maxsize: 100 |
|
|
# policy file |
|
|
# policy file |
|
|