Skip to content

Commit bb58769

Browse files
committed
Default the --enable-cadvisor-endpoints flag to disabled
As part of kubernetes#68522, Switching off the cAdvisor v1 Json API that we expose directly. These include /stats/, /stats/container, /stats/{podName}/{containerName}, and /stats/{namespace}/{podName}/{uid}/{containerName}
1 parent c9b4cf3 commit bb58769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubelet/app/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func NewKubeletFlags() *KubeletFlags {
219219
SeccompProfileRoot: filepath.Join(defaultRootDir, "seccomp"),
220220
// prior to the introduction of this flag, there was a hardcoded cap of 50 images
221221
NodeStatusMaxImages: 50,
222-
EnableCAdvisorJSONEndpoints: true,
222+
EnableCAdvisorJSONEndpoints: false,
223223
}
224224
}
225225

0 commit comments

Comments
 (0)