We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2444ce + 6a20c5d commit e5d9e6dCopy full SHA for e5d9e6d
content/en/docs/tasks/debug/debug-cluster/audit.md
@@ -144,10 +144,12 @@ You can configure the log audit backend using the following `kube-apiserver` fla
144
145
If your cluster's control plane runs the kube-apiserver as a Pod, remember to mount the `hostPath`
146
to the location of the policy file and log file, so that audit records are persisted. For example:
147
-```shell
148
- --audit-policy-file=/etc/kubernetes/audit-policy.yaml \
149
- --audit-log-path=/var/log/kubernetes/audit/audit.log
+
+```yaml
+ - --audit-policy-file=/etc/kubernetes/audit-policy.yaml
150
+ - --audit-log-path=/var/log/kubernetes/audit/audit.log
151
```
152
153
then mount the volumes:
154
155
```yaml
0 commit comments