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

[Chart] Error: chart "metrics-server" matching 3.8.0 not found #947

Closed
wirwolf opened this issue Feb 3, 2022 · 3 comments
Closed

[Chart] Error: chart "metrics-server" matching 3.8.0 not found #947

wirwolf opened this issue Feb 3, 2022 · 3 comments

Comments

@wirwolf
Copy link

wirwolf commented Feb 3, 2022

I try to install new chart version and I see the error.

ssh root@master1.mycluster.org 'helm repo add metrics-server https://kubernetes-sigs.github.io/metrics-server/'
"metrics-server" has been added to your repositories
ssh root@master1.mycluster.org 'helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "metrics-server" chart repository
Update Complete. ⎈Happy Helming!⎈
ssh root@master1.mycluster.org 'kubectl create namespace metrics-server --dry-run=client -o yaml | kubectl apply -f -'
namespace/metrics-server created
ssh root@master1.mycluster.org 'helm upgrade --install --debug metrics-server metrics-server/metrics-server --namespace metrics-server --version 3.8.0 -f /tmp/base/metrics-server.yaml'
history.go:56: [debug] getting history for release metrics-server
Release "metrics-server" does not exist. Installing it now.
install.go:178: [debug] Original chart version: "3.8.0"
Error: chart "metrics-server" matching 3.8.0 not found in metrics-server index. (try 'helm repo update'): no chart version found for metrics-server-3.8.0
helm.go:84: [debug] no chart version found for metrics-server-3.8.0
helm.sh/helm/v3/pkg/repo.IndexFile.Get
        helm.sh/helm/v3/pkg/repo/index.go:218
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).ResolveChartVersion
        helm.sh/helm/v3/pkg/downloader/chart_downloader.go:287
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
        helm.sh/helm/v3/pkg/downloader/chart_downloader.go:90
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart
        helm.sh/helm/v3/pkg/action/install.go:749
main.runInstall
        helm.sh/helm/v3/cmd/helm/install.go:190
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:120
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.3.0/command.go:902
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
        runtime/proc.go:255
runtime.goexit
        runtime/asm_amd64.s:1581
chart "metrics-server" matching 3.8.0 not found in metrics-server index. (try 'helm repo update')
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).ResolveChartVersion
        helm.sh/helm/v3/pkg/downloader/chart_downloader.go:289
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
        helm.sh/helm/v3/pkg/downloader/chart_downloader.go:90
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart
        helm.sh/helm/v3/pkg/action/install.go:749
main.runInstall
        helm.sh/helm/v3/cmd/helm/install.go:190
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:120
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.3.0/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.3.0/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.3.0/command.go:902
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
        runtime/proc.go:255
runtime.goexit
        runtime/asm_amd64.s:1581

I check to exist tag in https://kubernetes-sigs.github.io/metrics-server/index.yaml and did not found 3.8.0.

@stevehipwell
Copy link
Contributor

@wirwolf the last released chart is v3.7.0, this can be checked in the GH releases or at Artifact Hub. The current version on master is v3.8.0 but this is due to a change in our release process which will be updated once #938 has been closed.

I expect the version on master to start having a -pre flag on it, but I need to test this once the pending release is out.

@stevehipwell
Copy link
Contributor

FYI v3.8.0 will be released by #950.

@serathius
Copy link
Contributor

v3.8.0 was released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants