-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local-up-cluster kubelet option opening readonly port #96903
local-up-cluster kubelet option opening readonly port #96903
Conversation
@JornShen: GitHub didn't allow me to request PR reviews from the following users: masap. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig testing |
/approve |
/assign @spiffxp @BenTheElder |
/triage accepted
The other alternative is reverting the PR which introduced the regression in the first place, which has been in place for 26 days: #96095 |
/hold it is intentional that running from a config file does not serve on the insecure port by default... I expected the local-up-cluster kubelet to pick up those improved defaults when switching to run from a config file |
cbe2156
to
fedbbb9
Compare
/recc @dims @spiffxp @liggitt @jeremyrickard |
Hey @JornShen, we're about to cut v1.20.0-rc.0 which also creates the release-1.20 branch. From that point on we have to cherry-pick all changes which should be included in v1.20.0. |
@saschagrunert yeah, still in reviewing to this place. Maybe not catching up with that time. == |
fedbbb9
to
da80876
Compare
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
/hold cancel |
/priority backlog |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, JornShen, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Review the full test history for this PR. Silence the bot with an |
2 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
/retest Review the full test history for this PR. Silence the bot with an |
4 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind bug
What this PR does / why we need it:
After MR(#96095) merged, I run local-up-cluster.sh, find that kubelet wont open readonly port which is different from the before.
openning it is convenient for us to debug something.
The problem is that MR(#96095) migrate the kubelet the starting parameter to config file.
In the code,
kubeletConfig
will reload config from file.kubernetes/cmd/kubelet/app/server.go
Lines 195 to 199 in 5ed4b76
And it will cover the default config setting before in
kubernetes/cmd/kubelet/app/options/options.go
Line 267 in 5ed4b76
Does this PR introduce a user-facing change?: