Skip to content

Commit 647c8a5

Browse files
committed
[ja] Update audit.md
1 parent dc4eea7 commit 647c8a5

File tree

1 file changed

+4
-3
lines changed
  • content/ja/docs/tasks/debug/debug-cluster

1 file changed

+4
-3
lines changed

content/ja/docs/tasks/debug/debug-cluster/audit.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,10 @@ kube-apiserverには2つのバックエンドが用意されています。
129129

130130
クラスターのコントロールプレーンでkube-apiserverをPodとして動作させている場合は、監査記録が永久化されるように、ポリシーファイルとログファイルの場所に`hostPath`をマウントすることを忘れないでください。
131131
例えば:
132-
```shell
133-
--audit-policy-file=/etc/kubernetes/audit-policy.yaml \
134-
--audit-log-path=/var/log/audit.log
132+
133+
```yaml
134+
- --audit-policy-file=/etc/kubernetes/audit-policy.yaml
135+
- --audit-log-path=/var/log/kubernetes/audit/audit.log
135136
```
136137

137138
それからボリュームをマウントします:

0 commit comments

Comments
 (0)