Skip to content

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

Description

@axzhcode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions