- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MaxBackups (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/audit.go
} // Check validities of MaxAge, MaxBackups and MaxSize of log options, if file log backend is enabled. if o.MaxAge < 0 { allErrors = append(allErrors, fmt.Errorf("--audit-log-maxage %v can't be a negative number", o.MaxAge)) } if o.MaxBackups < 0 { allErrors = append(allErrors, fmt.Errorf("--audit-log-maxbackup %v can't be a negative number", o.MaxBackups)) } if o.MaxSize < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 24 06:30:04 UTC 2022 - 20.3K bytes - Viewed (0) -
cluster/gce/windows/common.psm1
# Maximum number of backup archives to maintain. [parameter(Mandatory=$false)] [int]$MaxBackups = 5 ) $config = [FileRotationConfig]::new() $config.Force = $Force $config.MaxBackupInterval = $MaxBackupInterval $config.MaxSize = $MaxSize $config.MaxBackups = $MaxBackups return $config } # Get-Backups returns a list of paths to backup files for the original file path -Path,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 19 14:47:38 UTC 2022 - 25.4K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/options_test.go
}).WithLoopback(), EventTTL: 1 * time.Hour, Audit: &apiserveroptions.AuditOptions{ LogOptions: apiserveroptions.AuditLogOptions{ Path: "/var/log", MaxAge: 11, MaxBackups: 12, MaxSize: 13, Format: "json", BatchOptions: apiserveroptions.AuditBatchOptions{ Mode: "blocking", BatchConfig: auditbuffered.BatchConfig{ BufferSize: 46,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options_test.go
}).WithLoopback(), EventTTL: 1 * time.Hour, Audit: &apiserveroptions.AuditOptions{ LogOptions: apiserveroptions.AuditLogOptions{ Path: "/var/log", MaxAge: 11, MaxBackups: 12, MaxSize: 13, Format: "json", BatchOptions: apiserveroptions.AuditBatchOptions{ Mode: "blocking", BatchConfig: auditbuffered.BatchConfig{ BufferSize: 46,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 12.7K bytes - Viewed (0) -
pkg/log/config.go
var rotaterSink zapcore.WriteSyncer if options.RotateOutputPath != "" { rotaterSink = zapcore.AddSync(&lumberjack.Logger{ Filename: options.RotateOutputPath, MaxSize: options.RotationMaxSize, MaxBackups: options.RotationMaxBackups, MaxAge: options.RotationMaxAge, }) } errSink, closeErrorSink, err := zap.Open(options.ErrorOutputPaths...) if err != nil { return nil, nil, nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0)