vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.67k stars 1.4k forks source link

Velero not working without Kubernetes metrics Server #3472

Open nschhina opened 3 years ago

nschhina commented 3 years ago

What steps did you take and what happened:

velero not able to discover the custom.metrics.k8s.io/v1beta1 evel=warning msg="Failed to discover group: custom.metrics.k8s.io/v1beta1" error="the server is currently unable to handle the request" logSource="pkg/discovery/helper.go:154"

What did you expect to happen:

Velero to do proper backups without any errors, as metrics were disabled using helm chart installatio

Anything else you would like to add:

Why does velero expect kubernetes metrics server to be running if metrics are disabled anyways? Is this a hard requirement for velero backups to happen?

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

Boes-man commented 3 years ago

Seeing this too:

velero version Client: Version: v1.6.0 Git commit: 5bd70fd8eef316d220317245e46dc6016c348dce Server: Version: v1.5.2

WARNING: the client version does not match the server version. Please update server

Kubernetes: v1.19.8