Skip to content
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

Fix metrics-server for k8s 1.26 #10183

Merged

Conversation

mzaian
Copy link
Contributor

@mzaian mzaian commented Jun 2, 2023

What type of PR is this?

/kind bug

What this PR does / why we need it:

Set --kubelet-insecure-tls to --kubelet-insecure-tls=true to fix metrics-server deployment
I also checked this version against older version of kubernetes '1.24.x' and it works fine.
Also see: kubernetes-sigs/metrics-server#1266

Which issue(s) this PR fixes:
Fixes #10178

Does this PR introduce a user-facing change?:

Fix metrics-server deployment to run with kubernetes 1.26+

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 2, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mzaian

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 2, 2023
@mzaian mzaian mentioned this pull request Jun 2, 2023
@oomichi
Copy link
Contributor

oomichi commented Jun 3, 2023

I also checked this version against older version of kubernetes '1.24.x' and it works fine.

Thanks for testing this locally :-)

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 3, 2023
@k8s-ci-robot k8s-ci-robot merged commit b7fa2d7 into kubernetes-sigs:master Jun 3, 2023
yankay pushed a commit to yankay/kubespray that referenced this pull request Jun 5, 2023
k8s-ci-robot pushed a commit that referenced this pull request Jun 5, 2023
Co-authored-by: Mohamed Omar Zaian <mohamedzaian@gmail.com>
@yankay yankay mentioned this pull request Aug 24, 2023
pedro-peter pushed a commit to pedro-peter/kubespray that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metrics-server does not work in release 2.22
3 participants