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

[kube-prometheus-stack] while installing kube-prometheus-stack helmchart on k8s, for loop in the RESTMappings method seems to run indefinitely #4471

Open
Fenil-Patelll opened this issue Apr 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Fenil-Patelll
Copy link

Describe the bug a clear and concise description of what the bug is.

I am using Helm APIs to install helm charts on the Kubernetes cluster. while installing kube-Prometheus-stack, I found out that the RESTMappings method ran indefinitely even though there were a fixed amount of array elements inside it.

RESTMapper Source Code :- https://github.com/kubernetes/apimachinery/blob/e696ec55a32e2177cd5f2fe1ded91d9485aa5c64/pkg/api/meta/multirestmapper.go#L191

Note:- the issue only occurs when we don't have the required credentials(secrets)[I doubt it is due to missing kube-Prometheus-admission credentials ] available on the cluster and installing the kube-Prometheus-stack chart for the first time.

If we have the credentials(secrets) the RESTMappings method does not run indefinitely & installation works without any error.

Screenshot 2024-04-17 at 12 46 15 PM

Output of helm version:
Could not see any logs in helm, as the loop runs indefinitely

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Local Kubernetes cluster running

Some Related thread for this error
#3187
#3370
https://stackoverflow.com/questions/75890673/helm-kube-prometheus-stack-stuck-in-pending-install

What's your helm version?

3.14.4

What's your kubectl version?

v1.28.2

Which chart?

kube-prometheus-stack

What's the chart version?

58.1.3

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

I am using the helm HTTP wrapper on Kubernetes, using API calls

Anything else we need to know?

No response

@Fenil-Patelll Fenil-Patelll added the bug Something isn't working label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant