Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
da367285
Unverified
Commit
da367285
authored
Mar 18, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74841 from liggitt/automated-cherry-pick-of-#74755-upstream-release-1.13
Automated cherry pick of #74755: Revert kubelet to default to ttl cache secret/configmap
parents
06c4ecc4
3ba07248
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
internal.yaml
.../app/util/config/testdata/conversion/master/internal.yaml
+1
-1
v1alpha3.yaml
.../app/util/config/testdata/conversion/master/v1alpha3.yaml
+1
-1
v1beta1.yaml
...m/app/util/config/testdata/conversion/master/v1beta1.yaml
+1
-1
defaulted.yaml
...app/util/config/testdata/defaulting/master/defaulted.yaml
+1
-1
defaults.go
pkg/kubelet/apis/config/v1beta1/defaults.go
+1
-1
No files found.
cmd/kubeadm/app/util/config/testdata/conversion/master/internal.yaml
View file @
da367285
...
@@ -92,7 +92,7 @@ ComponentConfigs:
...
@@ -92,7 +92,7 @@ ComponentConfigs:
ClusterDNS
:
ClusterDNS
:
-
10.96.0.10
-
10.96.0.10
ClusterDomain
:
cluster.local
ClusterDomain
:
cluster.local
ConfigMapAndSecretChangeDetectionStrategy
:
Watch
ConfigMapAndSecretChangeDetectionStrategy
:
Cache
ContainerLogMaxFiles
:
5
ContainerLogMaxFiles
:
5
ContainerLogMaxSize
:
10Mi
ContainerLogMaxSize
:
10Mi
ContentType
:
application/vnd.kubernetes.protobuf
ContentType
:
application/vnd.kubernetes.protobuf
...
...
cmd/kubeadm/app/util/config/testdata/conversion/master/v1alpha3.yaml
View file @
da367285
...
@@ -110,7 +110,7 @@ cgroupsPerQOS: true
...
@@ -110,7 +110,7 @@ cgroupsPerQOS: true
clusterDNS
:
clusterDNS
:
-
10.96.0.10
-
10.96.0.10
clusterDomain
:
cluster.local
clusterDomain
:
cluster.local
configMapAndSecretChangeDetectionStrategy
:
Watch
configMapAndSecretChangeDetectionStrategy
:
Cache
containerLogMaxFiles
:
5
containerLogMaxFiles
:
5
containerLogMaxSize
:
10Mi
containerLogMaxSize
:
10Mi
contentType
:
application/vnd.kubernetes.protobuf
contentType
:
application/vnd.kubernetes.protobuf
...
...
cmd/kubeadm/app/util/config/testdata/conversion/master/v1beta1.yaml
View file @
da367285
...
@@ -111,7 +111,7 @@ cgroupsPerQOS: true
...
@@ -111,7 +111,7 @@ cgroupsPerQOS: true
clusterDNS
:
clusterDNS
:
-
10.96.0.10
-
10.96.0.10
clusterDomain
:
cluster.local
clusterDomain
:
cluster.local
configMapAndSecretChangeDetectionStrategy
:
Watch
configMapAndSecretChangeDetectionStrategy
:
Cache
containerLogMaxFiles
:
5
containerLogMaxFiles
:
5
containerLogMaxSize
:
10Mi
containerLogMaxSize
:
10Mi
contentType
:
application/vnd.kubernetes.protobuf
contentType
:
application/vnd.kubernetes.protobuf
...
...
cmd/kubeadm/app/util/config/testdata/defaulting/master/defaulted.yaml
View file @
da367285
...
@@ -97,7 +97,7 @@ cgroupsPerQOS: true
...
@@ -97,7 +97,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
...
...
pkg/kubelet/apis/config/v1beta1/defaults.go
View file @
da367285
...
@@ -214,7 +214,7 @@ func SetDefaults_KubeletConfiguration(obj *kubeletconfigv1beta1.KubeletConfigura
...
@@ -214,7 +214,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
.
Watch
ChangeDetectionStrategy
obj
.
ConfigMapAndSecretChangeDetectionStrategy
=
kubeletconfigv1beta1
.
TTLCache
ChangeDetectionStrategy
}
}
if
obj
.
EnforceNodeAllocatable
==
nil
{
if
obj
.
EnforceNodeAllocatable
==
nil
{
obj
.
EnforceNodeAllocatable
=
DefaultNodeAllocatableEnforcement
obj
.
EnforceNodeAllocatable
=
DefaultNodeAllocatableEnforcement
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment