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

start k8s kernel, k8s.py config diff with launch_kubernetes.py #1398

Open
axzhcode opened this issue Dec 16, 2024 · 0 comments
Open

start k8s kernel, k8s.py config diff with launch_kubernetes.py #1398

axzhcode opened this issue Dec 16, 2024 · 0 comments
Labels

Comments

@axzhcode
Copy link

axzhcode commented Dec 16, 2024

Description

start k8s kernel, k8s.py config diff with launch_kubernetes.py

Reproduce

Expected behavior

k8s.py

Context

in launch_kubernetes.py:

if os.getenv("KUBERNETES_SERVICE_HOST"):
    config.load_incluster_config()  
else:  
    config.load_kube_config()  

in k8s.py:

config.load_incluster_config()

our k8s skip tls verify, but 'load_incluster_config' must load /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

@axzhcode axzhcode added the bug label Dec 16, 2024
@axzhcode axzhcode changed the title k8s run kernel, k8s.py config diff with launch_kubernetes.py start k8s kernel, k8s.py config diff with launch_kubernetes.py Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant