mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Revert kubelet to default to ttl cache secret/configmap behavior
This commit is contained in:
parent
23a41c9d7e
commit
cd1c9f9018
@ -101,7 +101,7 @@ cgroupsPerQOS: true
|
|||||||
clusterDNS:
|
clusterDNS:
|
||||||
- 10.192.0.10
|
- 10.192.0.10
|
||||||
clusterDomain: cluster.global
|
clusterDomain: cluster.global
|
||||||
configMapAndSecretChangeDetectionStrategy: Watch
|
configMapAndSecretChangeDetectionStrategy: Cache
|
||||||
containerLogMaxFiles: 5
|
containerLogMaxFiles: 5
|
||||||
containerLogMaxSize: 10Mi
|
containerLogMaxSize: 10Mi
|
||||||
contentType: application/vnd.kubernetes.protobuf
|
contentType: application/vnd.kubernetes.protobuf
|
||||||
|
@ -101,7 +101,7 @@ cgroupsPerQOS: true
|
|||||||
clusterDNS:
|
clusterDNS:
|
||||||
- 10.192.0.10
|
- 10.192.0.10
|
||||||
clusterDomain: cluster.global
|
clusterDomain: cluster.global
|
||||||
configMapAndSecretChangeDetectionStrategy: Watch
|
configMapAndSecretChangeDetectionStrategy: Cache
|
||||||
containerLogMaxFiles: 5
|
containerLogMaxFiles: 5
|
||||||
containerLogMaxSize: 10Mi
|
containerLogMaxSize: 10Mi
|
||||||
contentType: application/vnd.kubernetes.protobuf
|
contentType: application/vnd.kubernetes.protobuf
|
||||||
|
@ -215,7 +215,7 @@ func SetDefaults_KubeletConfiguration(obj *kubeletconfigv1beta1.KubeletConfigura
|
|||||||
obj.ContainerLogMaxFiles = utilpointer.Int32Ptr(5)
|
obj.ContainerLogMaxFiles = utilpointer.Int32Ptr(5)
|
||||||
}
|
}
|
||||||
if obj.ConfigMapAndSecretChangeDetectionStrategy == "" {
|
if obj.ConfigMapAndSecretChangeDetectionStrategy == "" {
|
||||||
obj.ConfigMapAndSecretChangeDetectionStrategy = kubeletconfigv1beta1.WatchChangeDetectionStrategy
|
obj.ConfigMapAndSecretChangeDetectionStrategy = kubeletconfigv1beta1.TTLCacheChangeDetectionStrategy
|
||||||
}
|
}
|
||||||
if obj.EnforceNodeAllocatable == nil {
|
if obj.EnforceNodeAllocatable == nil {
|
||||||
obj.EnforceNodeAllocatable = DefaultNodeAllocatableEnforcement
|
obj.EnforceNodeAllocatable = DefaultNodeAllocatableEnforcement
|
||||||
|
Loading…
Reference in New Issue
Block a user