Skip to content

yaml.load warning while running the config.load_kube_config() #787

@prafull01

Description

@prafull01

I have been getting following error whenever I am running config.load_kube_config()

/usr/lib/python3.6/site-packages/kubernetes/config/kube_config.py:480: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_dict=yaml.load(f),
/usr/lib/python3.6/site-packages/kubernetes/config/kube_config.py:480: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config_dict=yaml.load(f),`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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