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

Invalid kubeconfig file: Maximum call stack size exceeded #2565

Open
dbloquel opened this issue Nov 13, 2024 · 3 comments
Open

Invalid kubeconfig file: Maximum call stack size exceeded #2565

dbloquel opened this issue Nov 13, 2024 · 3 comments
Labels
backend Issues related to the backend bug Something isn't working windows Issues related to Windows or WSL

Comments

@dbloquel
Copy link

Describe the bug

When loading kube config, it return this error : Invalid kubeconfig file: Maximum call stack size exceeded

To Reproduce

I guess you'll need a "big" kube config file. For security reason I cannot paste mine but it is 673 lines long.

Environment (please provide info about your environment):

  • Installation type: Windows
  • Headlamp Version: 0.25.1

Are you able to fix this issue?

No

Additional Context

@dbloquel dbloquel added the bug Something isn't working label Nov 13, 2024
@dosubot dosubot bot added backend Issues related to the backend windows Issues related to Windows or WSL labels Nov 13, 2024
@knrt10
Copy link
Contributor

knrt10 commented Nov 14, 2024

Hi @dbloquel, Can you please confirm, if you are loading the kubeconfig file on startup or adding a cluster using Add cluster button?

Also are you running the web app or application or deployed using Helm.

I started Headlamp with 699 lines of kubeconfig and it seems to work on Mac. I am running web app. Sharing some screenshots. PTAL. Thanks
Screenshot 2024-11-14 at 11 35 53 AM
Screenshot 2024-11-14 at 11 36 00 AM
Screenshot 2024-11-14 at 11 36 24 AM

@dbloquel
Copy link
Author

Hello @knrt10

I am using the app on windows and using the add cluster button.

I tried a new kube config with only one cluster and it works. My kube config works with other products but just to be sure I will try to rebuild a new one with all the clusters.

I'll let you know

@joaquimrocha
Copy link
Collaborator

Hi @dbloquel , can you confirm whether this happens with Headlamp 0.26.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend bug Something isn't working windows Issues related to Windows or WSL
Projects
Development

No branches or pull requests

3 participants