The API server audit log files should be rotated once the file reaches 100 MB or more

Set up the kubernetes integration.

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

On the API server, the log file should be at least 100 MB in size prior to log rotation. Retaining old log files ensures that you have sufficient log data available for carrying out any investigation or correlation.

Remediation

Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the --audit-log-maxsize parameter to an appropriate size in MB.