Skip to content

Metrics server 0.6.4 returns 404 for service discovery #1410

Open
@johnmreynolds

Description

@johnmreynolds

What happened:

Upgraded metrics-server from 0.6.3 to 0.6.4 on k8s 1.27 on EKS. After doing so, apiservice discovery failed with the metrics server returning a 404 to the probe. Reverting to 0.6.3 resolved the issue.

What you expected to happen:

Metrics server continues to function.

Anything else we need to know?:

Instead service discovery from apiservice fails with:
failing or missing response from https://10.252.25.64:10250/apis/metrics.k8s.io/v1beta1: bad status from https://10.252.25.64:10250/apis/metrics.k8s.io/v1beta1: 404

After reverting to 0.6.3 it's fine again.

Environment:

  • Kubernetes distribution (GKE, EKS, Kubeadm, the hard way, etc.):

EKS.

  • Container Network Setup (flannel, calico, etc.):

Amazon EKS CNI.

  • Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"26+", GitVersion:"v1.26.10-eks-e71965b", GitCommit:"59abc9f4aa3073d5b8283627e77e98703ef4ad97", GitTreeState:"clean", BuildDate:"2023-11-14T10:00:51Z", GoVersion:"go1.20.10", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"27+", GitVersion:"v1.27.9-eks-5e0fdde", GitCommit:"3f8ed3d5017d988600f597734a4851930eda35a6", GitTreeState:"clean", BuildDate:"2024-01-02T20:34:38Z", GoVersion:"go1.20.12", Compiler:"gc", Platform:"linux/amd64"}

  • Metrics Server manifest

Unchanged chart 3.9.0 from https://kubernetes-sigs.github.io/metrics-server/

  • Kubelet config:

Fargate defaults.

  • Metrics server logs:

Server seems to be running fine.

  • Status of Metrics API:

FailedDiscovery due to bad status.

/kind bug

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions