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

config.load_kube_config drops into random sh shell instead of progressing #2342

Open
faali1 opened this issue Feb 3, 2025 · 1 comment
Open
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@faali1
Copy link

faali1 commented Feb 3, 2025

What happened (please include outputs or screenshots):

Hello! I'm seeing a regression in the latest verion where when I try to config.load_kube_config(context="cluster_id"), instead of proceeding with the command, it drops me into a random sh shell. When I try the same thing on 30.1.0 it works flawlessly. I've tried multiple contexts

Image

What you expected to happen:

Load kubeconfig and allow proceeding to next command

How to reproduce it (as minimally and precisely as possible):
Go into python REPL
perform the two commands from the ss above.

Anything else we need to know?:
Replicated by three people independently

Environment:

  • Kubernetes version (kubectl version):
Client Version: v1.30.1
Server Version: v1.30.8-eks-2d5f260
  • OS (e.g., MacOS 10.13.6):
    Mac OS 14.7.3

  • Python version (python --version)
    Python 3.8.18

  • Python client version (pip list | grep kubernetes)
    v32.0.0

@faali1 faali1 added the kind/bug Categorizes issue or PR as related to a bug. label Feb 3, 2025
@roycaihw
Copy link
Member

I think this may be related to #2334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants