kubelet: enable configurable rotation duration and parallel rotate
This commit is contained in:
13
pkg/generated/openapi/zz_generated.openapi.go
generated
13
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -58809,6 +58809,19 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
|
||||
Format: "int32",
|
||||
},
|
||||
},
|
||||
"containerLogMaxWorkers": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "ContainerLogMaxWorkers specifies the maximum number of concurrent workers to spawn for performing the log rotate operations. Set this count to 1 for disabling the concurrent log rotation workflows Default: 1",
|
||||
Type: []string{"integer"},
|
||||
Format: "int32",
|
||||
},
|
||||
},
|
||||
"containerLogMonitorInterval": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "ContainerLogMonitorInterval specifies the duration at which the container logs are monitored for performing the log rotate operation. This defaults to 10 * time.Seconds. But can be customized to a smaller value based on the log generation rate and the size required to be rotated against Default: 10s",
|
||||
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
|
||||
},
|
||||
},
|
||||
"configMapAndSecretChangeDetectionStrategy": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "configMapAndSecretChangeDetectionStrategy is a mode in which ConfigMap and Secret managers are running. Valid values include:\n\n- `Get`: kubelet fetches necessary objects directly from the API server; - `Cache`: kubelet uses TTL cache for object fetched from the API server; - `Watch`: kubelet uses watches to observe changes to objects that are in its interest.\n\nDefault: \"Watch\"",
|
||||
|
Reference in New Issue
Block a user