mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 18:44:49 -05:00
kubernetes: document total log size (#2164)
This commit is contained in:
parent
4564017b13
commit
ee0adfe8c7
@ -67,12 +67,13 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, cl
|
|||||||
APIServer: kubeadm.APIServer{
|
APIServer: kubeadm.APIServer{
|
||||||
ControlPlaneComponent: kubeadm.ControlPlaneComponent{
|
ControlPlaneComponent: kubeadm.ControlPlaneComponent{
|
||||||
ExtraArgs: map[string]string{
|
ExtraArgs: map[string]string{
|
||||||
"audit-policy-file": auditPolicyPath,
|
"audit-policy-file": auditPolicyPath,
|
||||||
"audit-log-path": filepath.Join(auditLogDir, auditLogFile), // CIS benchmark
|
"audit-log-path": filepath.Join(auditLogDir, auditLogFile), // CIS benchmark
|
||||||
"audit-log-maxage": "30", // CIS benchmark - Default value of Rancher
|
"audit-log-maxage": "30", // CIS benchmark - Default value of Rancher
|
||||||
"audit-log-maxbackup": "10", // CIS benchmark - Default value of Rancher
|
// log size = 10 files * 100MB + 100 MB (which is currently being written) = 1.1GB
|
||||||
"audit-log-maxsize": "100", // CIS benchmark - Default value of Rancher
|
"audit-log-maxbackup": "10", // CIS benchmark - Default value of Rancher
|
||||||
"profiling": "false", // CIS benchmark
|
"audit-log-maxsize": "100", // CIS benchmark - Default value of Rancher
|
||||||
|
"profiling": "false", // CIS benchmark
|
||||||
"egress-selector-config-file": "/etc/kubernetes/egress-selector-configuration.yaml",
|
"egress-selector-config-file": "/etc/kubernetes/egress-selector-configuration.yaml",
|
||||||
"kubelet-certificate-authority": filepath.Join(
|
"kubelet-certificate-authority": filepath.Join(
|
||||||
kubeconstants.KubernetesDir,
|
kubeconstants.KubernetesDir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user