Update audit.md
parent
2516bc2a59
commit
dab99c0146
|
@ -146,7 +146,7 @@ You can configure the log audit backend using the following `kube-apiserver` fla
|
|||
If your cluster's control plane runs the kube-apiserver as a Pod, remember to mount the `hostPath`
|
||||
to the location of the policy file and log file, so that audit records are persisted. For example:
|
||||
```shell
|
||||
--audit-policy-file=/etc/kubernetes/audit-policy.yaml \
|
||||
--audit-policy-file=/etc/kubernetes/audit-policy.yaml
|
||||
--audit-log-path=/var/log/kubernetes/audit/audit.log
|
||||
```
|
||||
then mount the volumes:
|
||||
|
|
Loading…
Reference in New Issue