You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As "kubelet --help" said, the default --read-only-port is 10255, but actually the default value is 0 (disabled):
root@william ~/go/src/k8s.io/kubernetes _output/local/bin/linux/amd64/kubelet --version ✔ ⚡ 7961 15:42:13
Kubernetes v1.19.0
root@william ~/go/src/k8s.io/kubernetes _output/local/bin/linux/amd64/kubelet --help | grep read-only ✔ ⚡ 7962 15:42:18
--read-only-port int32 The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable) (default 10255) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.)
root@william ~/go/src/k8s.io/kubernetes ✔ ⚡ 7963 15:42:25
k8s-ci-robot
added
sig/node
Categorizes an issue or PR as relevant to SIG Node.
and removed
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
labels
Sep 5, 2020
What happened:
As "kubelet --help" said, the default --read-only-port is 10255, but actually the default value is 0 (disabled):
kubernetes/staging/src/k8s.io/kubelet/config/v1beta1/types.go
Line 146 in 1f708f6
What you expected to happen:
Keep the context consistent, as a quick fix, we can set KubeletReadOnlyPort = 0.
kubernetes/pkg/cluster/ports/ports.go
Line 39 in 1f708f6
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
): v1.19.0cat /etc/os-release
): Fedora 32 (Cloud Edition)uname -a
): 5.8.4-200.fc32.x86_64The text was updated successfully, but these errors were encountered: