Skip to content

Commit f1d0e5d

Browse files
authored
Merge pull request #41721 from Arhell/ja-audit
[ja] Update audit.md
2 parents cb471c7 + 647c8a5 commit f1d0e5d

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)